Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-32411: IDLE: Remove line number sort in browser.py #5011

Merged
merged 3 commits into from
Jun 1, 2019

Conversation

csabella
Copy link
Contributor

@csabella csabella commented Dec 25, 2017

Since the input dictionary is created in line number and dictionaries are guaranteed to be in insertion order, the sort is no longer needed.

https://bugs.python.org/issue32411

@terryjreedy
Copy link
Member

ON HOLD, as explained on the issue.

@terryjreedy terryjreedy self-assigned this May 20, 2018
@terryjreedy terryjreedy added performance Performance or resource usage needs backport to 3.7 labels May 20, 2018
Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requested 'change' is to wait for circumstances to change ;-).

@rhettinger
Copy link
Contributor

LGTM.

@terryjreedy terryjreedy changed the title bpo-32411: IDLE: Remove sorting by line number in browser.py bpo-32411: IDLE: Remove line number sort in browser.py Jun 1, 2019
@terryjreedy terryjreedy merged commit 1a4d9ff into python:master Jun 1, 2019
@bedevere-bot
Copy link

@terryjreedy: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 1, 2019
Insertion in line order makes sorting keys by line order unneeded.
(cherry picked from commit 1a4d9ff)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
@bedevere-bot
Copy link

GH-13732 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Jun 1, 2019
Insertion in line order makes sorting keys by line order unneeded.
(cherry picked from commit 1a4d9ff)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
@csabella csabella deleted the bpo32411 branch June 1, 2019 23:37
@csabella
Copy link
Contributor Author

csabella commented Jun 1, 2019

@terryjreedy, thank you!

DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Insertion in line order makes sorting keys by line order unneeded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance or resource usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants