Visitar URL original
Issue 34432: doc Mention complex and decimal.Decimal on str.format note about locales - Python tracker
The Wayback Machine - https://web.archive.org/web/20220324075309/https://bugs.python.org/issue34432

➜

This issue tracker will soon become read-only and move to GitHub.
For a smoother transition, remember to log in and link your GitHub username to your profile.
For more information, see this post about the migration.

classification
Title: doc Mention complex and decimal.Decimal on str.format note about locales
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: adelfino, docs@python, eric.smith
Priority: normal Keywords: patch

Created on 2018-08-18 17:05 by adelfino, last changed 2018-08-18 20:09 by eric.smith. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 8808 merged adelfino, 2018-08-18 17:06
PR 8809 merged miss-islington, 2018-08-18 17:36
PR 8810 merged miss-islington, 2018-08-18 17:36
Messages (5)
msg323718 - (view) Author: Andrés Delfino (adelfino) * (Python triager) Date: 2018-08-18 17:05
On str.format method, the note about how locales are dealt with reads:

"When formatting a number (int, float, float and subclasses)..."

PR removes the second float, and mentions complex and decimal.Decimal.

The bug which introduced this note is: #31900
msg323721 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-08-18 17:36
New changeset 93b5655c040a33f9ba4cdbd303afc8398c8413c7 by Eric V. Smith (Andrés Delfino) in branch 'master':
bpo-34432: doc Mention complex and decimal.Decimal on str.format not about locales (GH-8808)
https://github.com/python/cpython/commit/93b5655c040a33f9ba4cdbd303afc8398c8413c7
msg323724 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-08-18 18:16
New changeset fbd0a14cc941e340df0979d94ac55191dd31ad00 by Eric V. Smith (Miss Islington (bot)) in branch '3.6':
bpo-34432: doc Mention complex and decimal.Decimal on str.format not about locales (GH-8808) (GH-8810)
https://github.com/python/cpython/commit/fbd0a14cc941e340df0979d94ac55191dd31ad00
msg323725 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-08-18 18:16
New changeset 0fd6f832a9c30404bf595a4af36e171d11fab024 by Eric V. Smith (Miss Islington (bot)) in branch '3.7':
bpo-34432: doc Mention complex and decimal.Decimal on str.format note about locales (GH-8808) (GH-8809)
https://github.com/python/cpython/commit/0fd6f832a9c30404bf595a4af36e171d11fab024
msg323730 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-08-18 20:09
Thanks, Andrés!
History
Date User Action Args
2018-08-18 20:09:47eric.smithsetstatus: open -> closed
messages: + msg323730

assignee: docs@python -> eric.smith
resolution: fixed
stage: patch review -> resolved
2018-08-18 18:16:39eric.smithsetmessages: + msg323725
2018-08-18 18:16:05eric.smithsetmessages: + msg323724
2018-08-18 17:43:41adelfinosetversions: + Python 3.6
2018-08-18 17:36:57miss-islingtonsetpull_requests: + pull_request8287
2018-08-18 17:36:40miss-islingtonsetpull_requests: + pull_request8286
2018-08-18 17:36:27eric.smithsetnosy: + eric.smith
messages: + msg323721
2018-08-18 17:06:40adelfinosetkeywords: + patch
stage: patch review
pull_requests: + pull_request8285
2018-08-18 17:05:23adelfinocreate