[issue3098] sys.sizeof test fails with wide unicode

Georg Brandl report at bugs.python.org
Fri Jun 13 16:09:10 CEST 2008


Georg Brandl <georg at python.org> added the comment:

It is true that sys.maxunicode reflects whether the build is using UCS-2
or UCS-4; however, the size of Py_UNICODE is not fixed by that, look at
unicodeobject.h.

(Though I don't think we have platforms that actually *do* use sizes
other than 2 or 4, so we can of course be sloppy.)

----------
nosy: +georg.brandl

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


More information about the Python-bugs-list mailing list