On Mon, Jan 19, 2015 at 11:43 AM, Paul Sokolovsky <pmis...@gmail.com> 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 Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com