[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose
Nick Coghlan
report at bugs.python.org
Sat Mar 29 03:55:30 CET 2014
Nick Coghlan added the comment:
The fill() name makes more sense for the bytearray variant, it is just provided on bytes as well for consistency. As Serhiy notes above, the current behaviour is almost certainly just a holdover from the original "mutable bytes" design that didn't survive into the initial 3.0 release.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20895>
_______________________________________
More information about the Python-bugs-list
mailing list