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. |
ncoghlan
left a comment
There was a problem hiding this comment.
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