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 saurik
Recipients benjamin.peterson, cito, loewis, saurik
Date 2012-01-02.02:25:54
SpamBayes Score 5.135614e-12
Marked as misclassified No
Message-id <1325471158.62.0.959875868891.issue2481@psf.upfronthosting.co.za>
In-reply-to
Content
I have attached a tested patch against Python-2.7.2.tgz (as I do not know how to use hg currently). It should be noted that I also am not 100% certain how the Python build environment works, but the way I added the wcsxfrm test was to add it to configure.in, then run autoheader and autoconf.

It also should be noted that the original code called strxfrm and did not check for an error result: neither does my new code (which is mostly based on formulaic modifications of the existing code in addition to educated guesses with regards to coding and formatting standards: feel free to change, obviously).

Finally, I noticed while working on this that --enable-unicode=no does not work (there is a check that enforces that it must be either ucs2 or ucs4): seems like an easy fix. That said, I ran into numerous other issues trying to make a non-Unicode build, and in the end gave up. My code looks like it should work, however, were someone to figure out how to build a non-Unicode Python 2.7.
History
Date User Action Args
2012-01-02 02:25:58sauriksetrecipients: + saurik, loewis, cito, benjamin.peterson
2012-01-02 02:25:58sauriksetmessageid: <1325471158.62.0.959875868891.issue2481@psf.upfronthosting.co.za>
2012-01-02 02:25:58sauriklinkissue2481 messages
2012-01-02 02:25:56saurikcreate