[issue10783] struct.pack() and Unicode strings

David Beazley report at bugs.python.org
Tue Dec 28 14:16:07 CET 2010


David Beazley <dave at dabeaz.com> added the comment:

As a user of Python 3, I would like echo Victor's comment about fixing the API right now as opposed to having to deal with it later.  I can only speak for myself, but I would guess that anyone using Python 3 already understands that it's bleeding edge and that the bytes/strings distinction is really important.  If fixing this breaks some third party libraries, I say good--they shouldn't have been blindly passing Unicode into struct in the first place.  Better to deal with it now when the number of users is relatively small.

----------

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


More information about the Python-bugs-list mailing list