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 belopolsky
Recipients Arfrever, barry, belopolsky, ezio.melotti, jhalcrow, lemburg, loewis, pitrou, valhallasw, vstinner
Date 2010-12-20.19:50:24
SpamBayes Score 6.1670915e-05
Marked as misclassified No
Message-id <1292874627.24.0.146076452418.issue10254@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch, issue10254a.diff, adds the OP's cases to test_unicodedata and changes the code as I suggested in msg124173 because ISTM that comb >= comb1 matches the pr-29 definition:

"""
D2'. In any character sequence beginning with a starter S, a character C is blocked from S if and only if there is some character B between S and C, and either B is a starter or it has the same or higher combining class as C.
""" http://www.unicode.org/review/pr-29.html

Unfortunately, all tests pass with either comb >= comb1 or comb == comb1, so before I commit, I would like to figure out the test case that would properly exercise this code.
History
Date User Action Args
2010-12-20 19:50:27belopolskysetrecipients: + belopolsky, lemburg, loewis, barry, pitrou, vstinner, ezio.melotti, Arfrever, jhalcrow, valhallasw
2010-12-20 19:50:27belopolskysetmessageid: <1292874627.24.0.146076452418.issue10254@psf.upfronthosting.co.za>
2010-12-20 19:50:25belopolskylinkissue10254 messages
2010-12-20 19:50:25belopolskycreate