Message277735
Due to the expected semantics of AttributeError being relatively precise, changing to a protocol check rather than just changing the order we look up the protocol attributes would also involving changing from AttributeError to TypeError.
Since that's a potentially more disruptive change and just changing the order of the checks is likely sufficient to reduce confusion, the latter approach is preferable, at least for now (if folks are still getting confused by the time 3.7 rolls around, then that option would be worth reconsidering). |
|
Date |
User |
Action |
Args |
2016-09-30 03:07:42 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, benjamin.peterson, ned.deily, xiang.zhang, Spencer Brown, ellingtonjp |
2016-09-30 03:07:42 | ncoghlan | set | messageid: <1475204862.32.0.51005287002.issue27100@psf.upfronthosting.co.za> |
2016-09-30 03:07:42 | ncoghlan | link | issue27100 messages |
2016-09-30 03:07:41 | ncoghlan | create | |
|