Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented Oct 10, 2024

(cherry picked from commit 26a9318)

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 commit 21c04e1)


📚 Documentation preview 📚: https://cpython-previews--125284.org.readthedocs.build/

…thonGH-124974) (pythonGH-125232) (cherry picked from commit 26a9318) 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 commit 21c04e1)
withself.subTest(locale=loc):
alt_digits=nl_langinfo(locale.ALT_DIGITS)
self.assertIsInstance(alt_digits, tuple)
ifcountandnotalt_digitsandsupport.is_apple:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no support.is_apple on 3.12.

@ambv, should the macOS check be required to merge PRs?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already is. #125311.

@miss-islingtonmiss-islington deleted the backport-26a9318-3.12 branch January 2, 2026 17:02
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@encukou@serhiy-storchaka