This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add PYTHONCOERCECLOCALE to the help of the command line
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: matrixise, ncoghlan
Priority: normal Keywords:

Created on 2017-06-12 09:55 by matrixise, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 2125 merged matrixise, 2017-06-12 10:00
PR 2131 merged matrixise, 2017-06-12 13:29
Messages (6)
msg295763 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2017-06-12 09:55
Add the description of PYTHONCOERCECLOCALE in the command line.
msg295768 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2017-06-12 11:30
New changeset 7d1017d9ed3285857e827635eda966da246dcd5f by Nick Coghlan (Stéphane Wirtel) in branch 'master':
bpo-30636: Add PYTHONCOERCECLOCALE to the help of the command line (GH-2125)
https://github.com/python/cpython/commit/7d1017d9ed3285857e827635eda966da246dcd5f
msg295776 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2017-06-12 13:18
I just noticed that there's a line-wrapping problem in the patch as-merged. The output ends up being:

PYTHONCOERCECLOCALE: if this variable is set to 0, it disables the locale
coercion behavior

It should either match the immediately preceding settings, which use a three space indent:

PYTHONMALLOC: set the Python memory allocators and/or install debug hooks
   on Python memory allocators. Use PYTHONMALLOC=debug to install debug
   hooks.

While some of the earlier ones align the continuation line with the opening text on the first line, those are all for much shorter variable names.
msg295777 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2017-06-12 13:21
yep, I see that, I fix it asap
msg295833 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2017-06-13 01:31
New changeset 81f67b6f48820beed6e138077fd785020bbfd5d6 by Nick Coghlan (Stéphane Wirtel) in branch 'master':
bpo-30636: Fix the indentation for the help (#2131)
https://github.com/python/cpython/commit/81f67b6f48820beed6e138077fd785020bbfd5d6
msg295834 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2017-06-13 01:31
Thanks once again! :)
History
Date User Action Args
2022-04-11 14:58:47adminsetgithub: 74821
2017-06-13 01:31:43ncoghlansetstatus: open -> closed
resolution: fixed
messages: + msg295834

stage: needs patch -> resolved
2017-06-13 01:31:13ncoghlansetmessages: + msg295833
2017-06-12 13:29:02matrixisesetpull_requests: + pull_request2185
2017-06-12 13:21:42matrixisesetmessages: + msg295777
2017-06-12 13:18:01ncoghlansetstatus: closed -> open
messages: + msg295776

components: + Interpreter Core
resolution: fixed -> (no value)
stage: resolved -> needs patch
2017-06-12 11:31:11ncoghlansetstatus: open -> closed
type: enhancement
resolution: fixed
stage: resolved
2017-06-12 11:30:35ncoghlansetmessages: + msg295768
2017-06-12 10:00:28matrixisesetpull_requests: + pull_request2179
2017-06-12 09:55:38matrixisecreate