[Python-Dev] bytes & bytearray

Guido van Rossum guido at python.org
Tue Jan 20 17:40:10 CET 2015

On Tue, Jan 20, 2015 at 1:48 AM, Paul Sokolovsky <pmiscml at gmail.com> wrote:

> The point of inplace operations (memoryview's, other stuff already in
> Python) is to avoid unneeded memory allocation and copying. For 1Tb
> bytearray with 1Tb of RAM, it will be very hard to do. (Ditto for 100K
> bytearray with 150K RAM.)

So you'll have to figure a better way to do it. We're not going to add
inplace_lower(), and that's the final word. (Of course you can add it to
microPython as an extension of the language.)

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150120/8c914058/attachment.html>

More information about the Python-Dev mailing list