summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/ucs2lib.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy ↵Antoine Pitrou2012-05-101-0/+1
| | | | Storchaka.
* Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separatorVictor Stinner2012-02-231-3/+0
| | | | | | | | | | | * Decode thousands separator and decimal point using PyUnicode_DecodeLocale() (from the locale encoding), instead of decoding them implicitly from latin1 * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum character if unicode is NULL * Replace MIN/MAX macros by Py_MIN/Py_MAX * stringlib/undef.h undefines STRINGLIB_IS_UNICODE * stringlib/localeutil.h only supports Unicode
* remove some usage of Py_UNICODE_TOUPPER/LOWERBenjamin Peterson2012-01-121-2/+0
|
* stringlib: remove unused STRINGLIB_FILLVictor Stinner2011-11-201-1/+0
|
* stringlib: Fix STRINGLIB_STR for UCS2/UCS4Victor Stinner2011-10-111-1/+1
|
* Fix fastsearch for UCS2 and UCS4Victor Stinner2011-10-111-0/+1
| | | | | * If needle is 0, try (p[0] >> 16) & 0xff for UCS4 * Disable fastsearch_memchr_1char() if needle is zero for UCS2 and UCS4
* Mark PyUnicode_FromUCS[124] as privateVictor Stinner2011-09-281-1/+1
|
* Implement PEP 393.Martin v. Löwis2011-09-281-0/+34