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 xiang.zhang
Recipients xiang.zhang
Date 2016-04-13.02:37:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460515034.42.0.500786155919.issue26745@psf.upfronthosting.co.za>
In-reply-to
Content
It seems some code in _PyObject_GenericSetAttrWithDict is not necessary. There is no need to check data descriptor again using PyDescr_IsData. And the second if (f != NULL) {} will never function.
History
Date User Action Args
2016-04-13 02:37:14xiang.zhangsetrecipients: + xiang.zhang
2016-04-13 02:37:14xiang.zhangsetmessageid: <1460515034.42.0.500786155919.issue26745@psf.upfronthosting.co.za>
2016-04-13 02:37:14xiang.zhanglinkissue26745 messages
2016-04-13 02:37:14xiang.zhangcreate