[Python-ideas] Deprecating the old-style sequence protocol

Alexander Walters tritium-list at sdamon.com
Tue Jan 5 12:17:33 EST 2016


On 1/5/2016 11:45, Guido van Rossum wrote:
> since the arguments to __getitem__ are supposed to be objects with an 
> __index__ method

...In the context of classic iteration only?


More information about the Python-ideas mailing list