Message122498
| Author |
belopolsky |
| Recipients |
Rhamphoryncus, amaury.forgeotdarc, belopolsky, ezio.melotti, lemburg |
| Date |
2010年11月27日.01:57:13 |
| SpamBayes Score |
4.797174e-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. |
|