mirror of
https://github.com/python/cpython.git
synced 2025-07-26 20:54:39 +00:00

* 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
11 lines
246 B
C
11 lines
246 B
C
#undef FASTSEARCH
|
|
#undef STRINGLIB
|
|
#undef STRINGLIB_SIZEOF_CHAR
|
|
#undef STRINGLIB_CHAR
|
|
#undef STRINGLIB_STR
|
|
#undef STRINGLIB_LEN
|
|
#undef STRINGLIB_NEW
|
|
#undef STRINGLIB_RESIZE
|
|
#undef _Py_InsertThousandsGrouping
|
|
#undef STRINGLIB_IS_UNICODE
|
|
|