Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS)#124974
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS)#124974
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Now it returns a tuple of up to 100 strings (an empty tuple on most locales).Previously it returned the first item of that tuple or an empty string.
999217d toe062187CompareUh oh!
There was an error while loading.Please reload this page.
bedevere-bot commentedOct 8, 2024
🤖 New build scheduled with the buildbot fleet by@serhiy-storchaka for commit157c23e 🤖 If you want to schedule another build, you need to add the🔨 test-with-buildbots label again. |
serhiy-storchaka commentedOct 9, 2024
Thank you for your review@methane. I wonder what happened with ALT_DIGITS on macOS whether it only for Japanese (which have lesser need of this info for |
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
encukou commentedOct 9, 2024
This commit broke the iOS buildbot:https://buildbot.python.org/#/builders/1380/builds/1535/steps/10/logs/stdio |
…124974)Now it returns a tuple of up to 100 strings (an empty tuple on most locales).Previously it returned the first item of that tuple or an empty string.
serhiy-storchaka commentedOct 9, 2024
Thanks. Should be fixed by#125177. |
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry,@serhiy-storchaka, I could not cleanly backport this to |
Sorry,@serhiy-storchaka, I could not cleanly backport this to |
…thonGH-124974)Now it returns a tuple of up to 100 strings (an empty tuple on most locales).Previously it returned the first item of that tuple or an empty string.(cherry picked from commit21c04e1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-125232 is a backport of this pull request to the3.13 branch. |
…thonGH-124974)Now it returns a tuple of up to 100 strings (an empty tuple on most locales).Previously it returned the first item of that tuple or an empty string.(cherry picked from commit21c04e1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…thonGH-124974) (pythonGH-125232)(cherry picked from commit26a9318)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>Returns a tuple of up to 100 strings for ALT_DIGITS lookup (an empty tuple on most locales).Previously it returned the first item of that tuple or an empty string.(cherry picked from commit21c04e1)
…H-124974) (GH-125232) (GH-125284)(cherry picked from commit26a9318)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>Returns a tuple of up to 100 strings for ALT_DIGITS lookup (an empty tuple on most locales).Previously it returned the first item of that tuple or an empty string.(cherry picked from commit21c04e1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
… a string againThis is a follow up ofpythonGH-124974. Only Glibc needed a fix.Now the returned value is a string consisting of semicolon-separatedsymbols on all Posix platforms.
… a string again (pythonGH-125774)This is a follow up ofpythonGH-124974. Only Glibc needed a fix.Now the returned value is a string consisting of semicolon-separatedsymbols on all Posix platforms.(cherry picked from commitdcc4fb2)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
… a string again (pythonGH-125774)This is a follow up ofpythonGH-124974. Only Glibc needed a fix.Now the returned value is a string consisting of semicolon-separatedsymbols on all Posix platforms.(cherry picked from commitdcc4fb2)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
… a string again (pythonGH-125774)This is a follow up ofpythonGH-124974. Only Glibc needed a fix.Now the returned value is a string consisting of semicolon-separatedsymbols on all Posix platforms.
Uh oh!
There was an error while loading.Please reload this page.
📚 Documentation preview 📚:https://cpython-previews--124974.org.readthedocs.build/