Anthony Sottile <asott...@umich.edu> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31550> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com