Message314116
I think the main concern here is ease in portability coupled with the incorrectness of the current message (pointed out in https://bugs.python.org/issue31550#msg302738)
For instance it was consistent in 2.7.1, but not later on in the 2.7.x tree. *And* it's different than python3 (for no good reason?)
The message is misleading as well, it's not looking for __getitem__ on the instance but on the type. |
|
Date |
User |
Action |
Args |
2018-03-19 20:00:19 | Anthony Sottile | set | recipients:
+ Anthony Sottile, rhettinger, serhiy.storchaka |
2018-03-19 20:00:19 | Anthony Sottile | set | messageid: <1521489619.88.0.467229070634.issue31550@psf.upfronthosting.co.za> |
2018-03-19 20:00:19 | Anthony Sottile | link | issue31550 messages |
2018-03-19 20:00:19 | Anthony Sottile | create | |
|