Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
terryjreedy merged 3 commits into
python:masterpython/cpython:masterfrom
csabella:bpo32411csabella/cpython:bpo32411Copy head branch name to clipboard
Jun 1, 2019
Merged

bpo-32411: IDLE: Remove line number sort in browser.py#5011
terryjreedy merged 3 commits into
python:masterpython/cpython:masterfrom
csabella:bpo32411csabella/cpython:bpo32411Copy head branch name to clipboard

Conversation

@csabella

@csabella csabella commented Dec 25, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

@terryjreedy terryjreedy left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown

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

@miss-islington

Copy link
Copy Markdown
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
Copy Markdown

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

csabella commented Jun 1, 2019

Copy link
Copy Markdown
Contributor Author

@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.