This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author trentm
Recipients lemburg, loewis, ronaldoussoren, trentm
Date 2008-10-06.22:49:39
SpamBayes Score 6.88232e-10
Marked as misclassified No
Message-id <1223333380.89.0.378239096351.issue4060@psf.upfronthosting.co.za>
In-reply-to
Content
> Does this also affect sys.byteorder and the struct module ?

Doesn't seem to affect sys.byteorder:

$ /usr/bin/python -c "import sys; print sys.byteorder"
big
$ python2.6 -c "import sys; print sys.byteorder"
big


> I think those would be more important to get right than the UTF-16
> codec, since this only uses the native byte ordering for increased
> performance and compatibility with other OS tools. Since UTF-16 is not
> wide-spread on Mac OS X, it's not so much an issue...

It is an issue for Python extensions that use that API. For example, it
is the cause of recent Komodo builds not starting Mac OS X/PowerPC
(http://bugs.activestate.com/show_bug.cgi?id=79366) because the PyXPCOM
extension and embedded Python 2.6 build was getting UTF-16 data mixed up
when talking with Mozilla APIs.

 it would be on
> Windows.
History
Date User Action Args
2008-10-06 22:49:40trentmsetrecipients: + trentm, lemburg, loewis, ronaldoussoren
2008-10-06 22:49:40trentmsetmessageid: <1223333380.89.0.378239096351.issue4060@psf.upfronthosting.co.za>
2008-10-06 22:49:39trentmlinkissue4060 messages
2008-10-06 22:49:39trentmcreate