Author belopolsky
Recipients Rhamphoryncus, amaury.forgeotdarc, belopolsky, ezio.melotti, lemburg
Date 2010-11-27.01:57:13
SpamBayes Score 4.79717e-05
Marked as misclassified No
Message-id <1290823036.21.0.939516373206.issue9200@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch fixes isprintable and other ctype-like methods.  I left isspace() out for now because I could not find a test character outside of BMP to test with, but I think we should fix that for completeness as well.

At this point the goal is mostly to showcase Py_UNICODE_NEXT(), not completeness.  See issue10542.

I also noticed that upper/lower/swapcase methods have the same issue:

>>> '\N{MATHEMATICAL BOLD CAPITAL A}'.lower() == '\N{MATHEMATICAL BOLD CAPITAL A}'
True

This will be a subject of a separate issue.
History
Date User Action Args
2010-11-27 01:57:16belopolskysetrecipients: + belopolsky, lemburg, amaury.forgeotdarc, Rhamphoryncus, ezio.melotti
2010-11-27 01:57:16belopolskysetmessageid: <1290823036.21.0.939516373206.issue9200@psf.upfronthosting.co.za>
2010-11-27 01:57:14belopolskylinkissue9200 messages
2010-11-27 01:57:14belopolskycreate