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 vstinner
Recipients BreamoreBoy, eric.smith, loewis, mark.dickinson, mcepl, skrah, vstinner
Date 2013-10-22.12:12:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382443973.8.0.394763378724.issue7442@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2013-10-22 12:12:53vstinnersetrecipients: + vstinner, loewis, mark.dickinson, eric.smith, mcepl, skrah, BreamoreBoy
2013-10-22 12:12:53vstinnersetmessageid: <1382443973.8.0.394763378724.issue7442@psf.upfronthosting.co.za>
2013-10-22 12:12:53vstinnerlinkissue7442 messages
2013-10-22 12:12:53vstinnercreate