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 r.david.murray
Recipients Alexander.Pyhalov, ezio.melotti, r.david.murray, vstinner
Date 2013-12-21.23:21:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387668096.55.0.208069490398.issue20049@psf.upfronthosting.co.za>
In-reply-to
Content
In python2, string.lowercase and string.uppercase are locale dependent.  This isn't really all that useful in practice, which is why it was dropped in Python3.  The proposed fix might be correct, *if* utf-8 is checked for (see, eg, Issue 6525), but...do you have any idea why this is a problem on illumos with _XOPEN_SOURCE=600 but not on any other platform (as far as we know)?  It seems like it would be a bug in the platform's islower and isupper functions, which are supposed to operate on integers that fit in an unsigned char, and be locale aware, according to the standards.
History
Date User Action Args
2013-12-21 23:21:36r.david.murraysetrecipients: + r.david.murray, vstinner, ezio.melotti, Alexander.Pyhalov
2013-12-21 23:21:36r.david.murraysetmessageid: <1387668096.55.0.208069490398.issue20049@psf.upfronthosting.co.za>
2013-12-21 23:21:36r.david.murraylinkissue20049 messages
2013-12-21 23:21:36r.david.murraycreate