Message200928
This issue is very close to the issue #13706 which I solved with the new function PyUnicode_DecodeLocale(): see get_locale_info() in Python/formatter_unicode.c.
We might copy/paste the code, or we should maybe add a private API to get locale information: get_locale_info() => _Py_get_locale_info() and expose the LocaleInfo structure. It may be added to unicodeobject.h for example, there is already a function related to locales: _PyUnicode_InsertThousandsGrouping(). |
|
Date |
User |
Action |
Args |
2013-10-22 12:12:53 | vstinner | set | recipients:
+ vstinner, loewis, mark.dickinson, eric.smith, mcepl, skrah, BreamoreBoy |
2013-10-22 12:12:53 | vstinner | set | messageid: <1382443973.8.0.394763378724.issue7442@psf.upfronthosting.co.za> |
2013-10-22 12:12:53 | vstinner | link | issue7442 messages |
2013-10-22 12:12:53 | vstinner | create | |
|