Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-33471: Fix invalid numeric formatting with UCS2 separator#6861

Closed
Licht-T wants to merge 1 commit into
python:masterpython/cpython:masterfrom
Licht-T:fix-invalid-numeric-formatting-with-ucs2-sepLicht-T/cpython:fix-invalid-numeric-formatting-with-ucs2-sepCopy head branch name to clipboard
Closed

bpo-33471: Fix invalid numeric formatting with UCS2 separator#6861
Licht-T wants to merge 1 commit into
python:masterpython/cpython:masterfrom
Licht-T:fix-invalid-numeric-formatting-with-ucs2-sepLicht-T/cpython:fix-invalid-numeric-formatting-with-ucs2-sepCopy head branch name to clipboard

Conversation

@Licht-T

@Licht-T Licht-T commented May 15, 2018

Copy link
Copy Markdown
Contributor

This fixes bpo-33471.

Repro. code

import locale

print('{:n}'.format(int(1200000)))
locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8')
print('{:n}'.format(int(1200000)))
print('{:n}'.format(int(12)))

https://bugs.python.org/issue33471

@csabella

csabella commented Jan 12, 2020

Copy link
Copy Markdown
Contributor

Fixed with GH-10623.

@csabella csabella closed this Jan 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.