[Python-ideas] bytes indexing behavior

Serhiy Storchaka storchaka at gmail.com
Tue Jun 7 00:41:59 EDT 2016


On 06.06.16 23:28, Guido van Rossum wrote:
> I think the approach using a new method for the old behavior is
> workable. Maybe we should add another (temporary) new method for the new
> behavior.
>
> The magic object approach is too magical.
>
> We should do the same for bytearray and memoryview.

I often use bytearray and memoryview as arrays of ints.




More information about the Python-ideas mailing list