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 martin.panter
Recipients abarnert, abarry, curioswati, gvanrossum, martin.panter, ncoghlan, r.david.murray, rhettinger, serhiy.storchaka, terry.reedy
Date 2016-01-01.05:32:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451626376.23.0.20897611726.issue25864@psf.upfronthosting.co.za>
In-reply-to
Content
If this patch goes ahead, I think the ABC documentation should clarify which methods are checked for None and which aren’t. The datamodel.rst file will suggest None for any method, but ABC will only support it for Iterable and Hashable (I think).

Also, what is the point of the odd __getitem__() method in test_enumerate.py? Maybe you should use assertRaisesRegex() to check that the intended TypeError is actually raised.
History
Date User Action Args
2016-01-01 05:32:56martin.pantersetrecipients: + martin.panter, gvanrossum, rhettinger, terry.reedy, ncoghlan, r.david.murray, serhiy.storchaka, abarnert, abarry, curioswati
2016-01-01 05:32:56martin.pantersetmessageid: <1451626376.23.0.20897611726.issue25864@psf.upfronthosting.co.za>
2016-01-01 05:32:56martin.panterlinkissue25864 messages
2016-01-01 05:32:55martin.pantercreate