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
making Python LC_NUMERIC agnostic #38883
Comments
This patch offers conversion string<->float |
Logged In: YES I recommend that you do not incorporate the code of glib, |
Logged In: YES I have to incorporate glib code, otherwise what happens if |
Logged In: YES On some systems, the desired behaviour just is not |
Logged In: YES If neither glib nor glibc are available, are we still |
Logged In: YES I don't think the problem can be solved once and forall. In I don't know whether linking with glib is a good idea. I'd |
Logged In: YES Used James Henstridge's cleaned up code, and cleaned it up |
Logged In: YES Any chance this can get into Python 2.4? |
Logged In: YES The patch breaks test_coercion, if run as python Lib/test/regrtest.py test__locale test_coercion This is because the behaviour of the %f formatter changes: >>> import locale
>>> locale.setlocale(locale.LC_ALL,"de_DE")
'de_DE'
>>> '%.1f' % 3.4
'3,4' |
Logged In: YES test_coertion doesn't fail for me. But I believe you. I |
Logged In: YES Thanks for the patch. Committed as Makefile.pre.in 1.145 |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: