Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support POSIX uselocale interface for thread-specific locale settings #67988

Open
ned-deily opened this issue Mar 28, 2015 · 1 comment
Open
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@ned-deily
Copy link
Member

BPO 23800
Nosy @malemburg, @loewis, @ned-deily

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2015-03-28.20:50:31.213>
labels = ['type-feature', 'library']
title = 'Support POSIX uselocale interface for thread-specific locale settings'
updated_at = <Date 2015-03-28.20:50:31.213>
user = 'https://github.com/ned-deily'

bugs.python.org fields:

activity = <Date 2015-03-28.20:50:31.213>
actor = 'ned.deily'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2015-03-28.20:50:31.213>
creator = 'ned.deily'
dependencies = []
files = []
hgrepos = []
issue_num = 23800
keywords = []
message_count = 1.0
messages = ['239467']
nosy_count = 3.0
nosy_names = ['lemburg', 'loewis', 'ned.deily']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue23800'
versions = ['Python 3.5']

@ned-deily
Copy link
Member Author

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

@ned-deily ned-deily added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Mar 28, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
Status: No status
Status: No status
Development

No branches or pull requests

1 participant