[Python-ideas] RFC: bytestring as a str representation [was: a new bytestring type?]
Stephen J. Turnbull
stephen at xemacs.org
Wed Jan 8 07:08:17 CET 2014
Terry Reedy writes:
> The above describes a minor variation on bytes and seems to me to be a
> classic case for subclassing, whether in Python for ease or C for speed,
> in an imported module.
I agree with you, but the discussion on python-dev indicates that the
majority of core devs, including Guido IIUC, disagree with us. In
fact they want to add many str-like capabilities to bytes (and the
related mutable classes bytearray and memoryview).
More information about the Python-ideas
mailing list