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 josh.r
Recipients benjamin.peterson, josh.r, pitrou, serhiy.storchaka, xiang.zhang
Date 2016-04-13.16:57:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460566655.43.0.548691471829.issue26745@psf.upfronthosting.co.za>
In-reply-to
Content
LGTM. Had to check the definition of PyDescr_IsData to determine that checking the value from tp_descr_set for NULL was exactly what that macro does, but yeah, it looks like the first test was redundant, and f is never assigned outside that block, so the second block after the rest of the work is pointless; you'd never get there.
History
Date User Action Args
2016-04-13 16:57:35josh.rsetrecipients: + josh.r, pitrou, benjamin.peterson, serhiy.storchaka, xiang.zhang
2016-04-13 16:57:35josh.rsetmessageid: <1460566655.43.0.548691471829.issue26745@psf.upfronthosting.co.za>
2016-04-13 16:57:35josh.rlinkissue26745 messages
2016-04-13 16:57:35josh.rcreate