On Mon, Jan 19, 2015 at 11:43 AM, Paul Sokolovsky <pmiscml at 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) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150119/a31adadf/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4