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

Serhiy Storchaka report at bugs.python.org
Tue Nov 14 13:24:14 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I don't think these changes should be merged.

For bytes.zeros(N), you can use b'\0' * N.

For iterbytes() methods, I think that the general function which works with any sequence that support slicing would be more useful.

----------

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


More information about the Python-bugs-list mailing list