This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abarry
Recipients JelleZijlstra, abarry, eryksun, r.david.murray, rhettinger, shakur shams Mullick, theller, vstinner
Date 2016-06-04.19:53:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465070029.75.0.531010564444.issue21130@psf.upfronthosting.co.za>
In-reply-to
Content
Git diffs work, but this one doesn't apply cleanly. I manually fixed it and re-generated the patch. Rietveld should pick it up now.

Otherwise, what Jelle said. I'm not sure if the macro has the best name though - I'd probably name it `PyPartial_CheckExact` and reserve `PyPartial_Check` to allow checking for subclasses. Not sure if we need to add both in here, but it would be weird to have only one (even if the other is unused).

(Also, depending which of this one or #27137 gets committed first, the other patch will need to be updated. I'll probably do it since the other is mine.)
History
Date User Action Args
2016-06-04 19:53:49abarrysetrecipients: + abarry, theller, rhettinger, vstinner, r.david.murray, eryksun, JelleZijlstra, shakur shams Mullick
2016-06-04 19:53:49abarrysetmessageid: <1465070029.75.0.531010564444.issue21130@psf.upfronthosting.co.za>
2016-06-04 19:53:49abarrylinkissue21130 messages
2016-06-04 19:53:49abarrycreate