[issue27923] PEP 467 -- Minor API improvements for binary sequences

Martin Panter report at bugs.python.org
Sat Sep 3 08:27:24 EDT 2016


Martin Panter added the comment:

Sorry Elias for not explaining my commands. xclip was just my way of pasting the patch URL from the clipboard (that I copied from Firefox).

It is not clear if we are actually making a DeprecationWarning, or going down the road of changing all the stdlib. But if we do, there are a couple of bits of Serhiy’s patch that I would rewrite more plainly, e.g. bytearray(b'\0\0') * len(...) instead of bytearray(b'\0') * (2 * len(...)).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27923>
_______________________________________


More information about the Python-bugs-list mailing list