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 flox
Recipients flox, lemburg, michael.foord
Date 2010-01-10.00:45:26
SpamBayes Score 9.139817e-11
Marked as misclassified No
Message-id <1263084330.04.0.438193719442.issue7643@psf.upfronthosting.co.za>
In-reply-to
Content
Here is draft of the patch to do what is proposed by Marc André on msg97440 (add VT and FF).
Additionnally I upgraded the UCD 5.1 -> 5.2.

The implementation uses field 16 as defined in "py3k" implementation of "makeunicodedata.py". It should minimize differences between Py2 and Py3 implementations.

Documentation and tests are missing.
I can provide a "diff.gz" containing "Modules/unicodedata_db.h", "Modules/unicodename_db.h" and "Objects/unicodetype_db.h", if needed.


- /* Returns 1 for Unicode characters having the category 'Zl',
-  * 'Zp' or type 'B', 0 otherwise.
+ /* Returns 1 for Unicode characters having the line break
+  * property 'BK', 'CR', 'LF' or 'NL' or having bidirectional
+  * type 'B', 0 otherwise.
   */

Note: the "remove_deprecation" should be applied before to remove "-3" warnings.
History
Date User Action Args
2010-01-10 00:45:30floxsetrecipients: + flox, lemburg, michael.foord
2010-01-10 00:45:30floxsetmessageid: <1263084330.04.0.438193719442.issue7643@psf.upfronthosting.co.za>
2010-01-10 00:45:28floxlinkissue7643 messages
2010-01-10 00:45:27floxcreate