[issue32431] Two bytes objects of zero length don't compare equal

R. David Murray report at bugs.python.org
Wed Dec 27 13:08:41 EST 2017


R. David Murray <rdmurray at bitdance.com> added the comment:

I think what Py_SIZE "means" depends on the object type in the general case, not just this one, so documenting that it is mucking with the internal representation is probably the way to go.

----------

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


More information about the Python-bugs-list mailing list