Author rhettinger
Recipients methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-01-23.05:47:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485150470.07.0.141477672695.issue28999@psf.upfronthosting.co.za>
In-reply-to
Content
I believe this is a safe change.  All of the replaced pairs on consecutive lines so there are no intervening operations.

For Modules/xxsubtype.c, I think the code should remain as-is.  It is intended to be the simplest possible example of how to make a subtype and its clarity is reduced by requiring that someone learn the macro.  That said, it would be reasonable to add a comment that this pair could also have been coded as Py_RETURN_NONE (i.e. use it as a teachable moment).
History
Date User Action Args
2017-01-23 05:47:50rhettingersetrecipients: + rhettinger, vstinner, methane, serhiy.storchaka
2017-01-23 05:47:50rhettingersetmessageid: <1485150470.07.0.141477672695.issue28999@psf.upfronthosting.co.za>
2017-01-23 05:47:50rhettingerlinkissue28999 messages
2017-01-23 05:47:49rhettingercreate