-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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-23699: Use a macro to reduce boilerplate code in rich comparison functions #793
Conversation
@stratakis, thanks for your PR! By analyzing the history of the files in this pull request, we identified @freddrake, @loewis and @benjaminp to be potential reviewers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change itself looks good to me (reducing the total line count by 250+ lines is a sign of a good pattern extraction), so there's just the Misc/NEWS and Misc/ACKS bookkeeping needed prior to merging.
Thanks for taking a look at it Nick. Will update the PR with the Misc/NEWS and Misc/ACKS files. Do you think it would be possible to backport this change to the 3.6 branch? Should I make a PR for a backport as well? |
d730285
to
c947ff2
Compare
No, it's a new feature, so projects will need to either define it themselves or get it from a compatibility project like Py3C for older releases. |
c947ff2
to
d6faeea
Compare
d6faeea
to
7e7779e
Compare
PR has been rebased on top of master and the tests pass. Is there some way I can help moving this forward? |
Thanks! |
Patch from @encukou
More info at: http://bugs.python.org/issue23699
Rebased for the current master branch.
https://bugs.python.org/issue23699