Message97483
| 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:30 | flox | set | recipients:
+ flox, lemburg, michael.foord |
| 2010年01月10日 00:45:30 | flox | set | messageid: <1263084330.04.0.438193719442.issue7643@psf.upfronthosting.co.za> |
| 2010年01月10日 00:45:28 | flox | link | issue7643 messages |
| 2010年01月10日 00:45:27 | flox | create |
|