Skip to content

bpo-43795: Sort PC/python3dll.c - #25312

Merged
encukou merged 2 commits into
python:masterfrom
encukou:pep652-sort
Apr 14, 2021
Merged

encukou merged 2 commits into
python:masterfrom
encukou:pep652-sort

Conversation

@encukou

@encukou encukou commented Apr 9, 2021 •

Copy link
Copy Markdown
Member

Each section is sorted to reduce diffs (review effort) when the file becomes generated (PEP 652)
Sort is done with key=str.lower to preserve most of the original order (underscored items first).

https://bugs.python.org/issue43795

Each section is sorted to reduce diffs (review effort) when the file
becomes generated.
Sort is done with key=str.lower to preserve most of the original order
(underscored items first).
@encukou

encukou commented Apr 9, 2021 •

Copy link
Copy Markdown
Member Author

I'm putting this up as a separate PR to reduce conflicts. Discussions on the main PEP 652 PR might take a while.

@zware zware 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.

Looks like the file mode was changed; was that intentional? Otherwise looks good to me :)

I have no idea why that changed...
@encukou

encukou commented Apr 14, 2021

Copy link
Copy Markdown
Member Author

I have no idea how I managed to change the mode. Thanks for the catch!

@encukou
encukou merged commit 92eebf6 into python:master Apr 14, 2021
@encukou
encukou deleted the pep652-sort branch April 14, 2021 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants