Message257276
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. |
|
Date |
User |
Action |
Args |
2016-01-01 05:32:56 | martin.panter | set | recipients:
+ martin.panter, gvanrossum, rhettinger, terry.reedy, ncoghlan, r.david.murray, serhiy.storchaka, abarnert, abarry, curioswati |
2016-01-01 05:32:56 | martin.panter | set | messageid: <1451626376.23.0.20897611726.issue25864@psf.upfronthosting.co.za> |
2016-01-01 05:32:56 | martin.panter | link | issue25864 messages |
2016-01-01 05:32:55 | martin.panter | create | |
|