[issue3098] sys.sizeof test fails with wide unicode
Marc-Andre Lemburg
report at bugs.python.org
Fri Jun 13 21:54:54 CEST 2008
Marc-Andre Lemburg <mal at egenix.com> added the comment:
BTW: Here's another trick you can use:
print 'sizeof(Py_UNICODE) =', len(u'\0'.encode('unicode-internal'))
(for Py2.x)
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3098>
_______________________________________
More information about the Python-bugs-list
mailing list