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 ezio.melotti
Recipients belopolsky, eric.araujo, ezio.melotti, lemburg, py.user, r.david.murray
Date 2011-07-21.08:52:55
SpamBayes Score 6.02119e-07
Marked as misclassified No
Message-id <1311238375.93.0.206051053538.issue12266@psf.upfronthosting.co.za>
In-reply-to
Content
Do you mean  "if (!Py_UNICODE_ISLOWER(*s)) {"  (with the '!')?

This sounds fine to me, but with this approach all the uncased characters will go through a Py_UNICODE_TO* macro, whereas with the current code only the cased ones are converted.  I'm not sure this matters too much though.

OTOH if the non-lowercase cased chars are always either upper or titlecased, checking for both should be equivalent.
History
Date User Action Args
2011-07-21 08:52:56ezio.melottisetrecipients: + ezio.melotti, lemburg, belopolsky, eric.araujo, r.david.murray, py.user
2011-07-21 08:52:55ezio.melottisetmessageid: <1311238375.93.0.206051053538.issue12266@psf.upfronthosting.co.za>
2011-07-21 08:52:55ezio.melottilinkissue12266 messages
2011-07-21 08:52:55ezio.melotticreate