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.

classification
Title: Support POSIX uselocale interface for thread-specific locale settings
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: lemburg, loewis, ned.deily
Priority: normal Keywords:

Created on 2015-03-28 20:50 by ned.deily, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg239467 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-03-28 20:50
POSIX 2008 provides a system interface, uselocale, to set locales individually on a thread basis rather than just process global, as currently supported with locale.setlocale().  uselocale is supported in most current GNU libc, BSD, and OS X releases.  While there is currently a third-party package available in PyPI, it currently doesn't claim to support Python 3 and it would be good to have uselocale as part of the standard library where available.

http://pubs.opengroup.org/stage7tc1/functions/uselocale.html

https://github.com/wichert/xlocale
History
Date User Action Args
2022-04-11 14:58:14adminsetgithub: 67988
2015-03-28 20:50:31ned.deilycreate