Message230277
'counter' in the docstrings is in lower case, so that says nothing dispositive. However, __add__ does an ininstance check, so it is hard to see why __iadd__ does not.
Personally I'd drop the isinstance checks and let the errors bubble up as they may. Why should subtract explicitly support other data types, but not __sub__/__isub__? But Raymond's opinion should hold the most weight here. |
|
Date |
User |
Action |
Args |
2014-10-30 17:50:23 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, ethan.furman, Joshua.Chin |
2014-10-30 17:50:23 | r.david.murray | set | messageid: <1414691423.06.0.116795201411.issue22766@psf.upfronthosting.co.za> |
2014-10-30 17:50:23 | r.david.murray | link | issue22766 messages |
2014-10-30 17:50:23 | r.david.murray | create | |
|