Re: [Python-Dev] bytes & bytearray

2015年1月19日 14:06:06 -0800

On Mon, Jan 19, 2015 at 11:43 AM, Paul Sokolovsky <[email protected]> wrote:
> [...]
> So, suppose there's a requirement to support inplace operations
> (methods) on bytearray, what would be Pythonic way to implement it?
>
> Something like:
>
> b.lower_inplace()
> b.lower_i()
>
> , or maybe
>
> import bytearray_ops
> bytearray_ops.lower(b)
>
> ?
Please don't go there. The use cases are too rare.
-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to