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 versionchanged notes for string.Formatter
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.8, Python 3.7, Python 3.6, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eric.smith, miss-islington, xiang.zhang
Priority: normal Keywords: patch

Created on 2018-06-11 08:33 by xiang.zhang, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 7668 merged xiang.zhang, 2018-06-12 15:13
PR 7674 merged miss-islington, 2018-06-13 01:43
PR 7675 merged miss-islington, 2018-06-13 01:43
PR 7676 merged xiang.zhang, 2018-06-13 02:04
Messages (6)
msg319284 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-06-11 08:33
I propose to add versionchanged note about auto-numbering feature of string.Formatter, introduced in #13598. It's quite confusing which version could I use the feature reading the doc. Also it's better to note in 2.7 the feature is not available.

Currently the doc gives me the feeling string.Formatter and str.format share the same feature and the auto-numbering feature is available in 2.7 and >3.1.
msg319418 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-06-13 01:42
New changeset b9d8ad5130e0f77be28a3dec6d468e6470835573 by Xiang Zhang in branch 'master':
bpo-33828: Add missing versionchanged note for string.Formatter. (GH-7668)
https://github.com/python/cpython/commit/b9d8ad5130e0f77be28a3dec6d468e6470835573
msg319419 - (view) Author: miss-islington (miss-islington) Date: 2018-06-13 02:10
New changeset 29fdea5ec2054f18e68733ec83edbd0b855fd8bb by Miss Islington (bot) in branch '3.7':
bpo-33828: Add missing versionchanged note for string.Formatter. (GH-7668)
https://github.com/python/cpython/commit/29fdea5ec2054f18e68733ec83edbd0b855fd8bb
msg319420 - (view) Author: miss-islington (miss-islington) Date: 2018-06-13 02:11
New changeset 439a9b69985bd4757de1504d19b040f78e384ca4 by Miss Islington (bot) in branch '3.6':
bpo-33828: Add missing versionchanged note for string.Formatter. (GH-7668)
https://github.com/python/cpython/commit/439a9b69985bd4757de1504d19b040f78e384ca4
msg319421 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-06-13 02:38
New changeset fc8ea20c6f8571de96791bc5f7f2d693406024c7 by Xiang Zhang in branch '2.7':
[2.7] bpo-33828: Clarify auto-numbering is not available to string.Formatter. (GH-7668) (GH-7676)
https://github.com/python/cpython/commit/fc8ea20c6f8571de96791bc5f7f2d693406024c7
msg319422 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-06-13 02:40
Thanks for the review, Eric. :-)
History
Date User Action Args
2022-04-11 14:59:01adminsetgithub: 78009
2018-06-13 02:40:48xiang.zhangsetstatus: open -> closed
versions: + Python 2.7
type: enhancement
messages: + msg319422

resolution: fixed
stage: patch review -> resolved
2018-06-13 02:38:04xiang.zhangsetmessages: + msg319421
2018-06-13 02:11:27miss-islingtonsetmessages: + msg319420
2018-06-13 02:10:54miss-islingtonsetnosy: + miss-islington
messages: + msg319419
2018-06-13 02:04:12xiang.zhangsetpull_requests: + pull_request7288
2018-06-13 01:43:57miss-islingtonsetpull_requests: + pull_request7287
2018-06-13 01:43:20miss-islingtonsetpull_requests: + pull_request7286
2018-06-13 01:42:46xiang.zhangsetmessages: + msg319418
2018-06-12 15:13:06xiang.zhangsetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request7283
2018-06-11 08:33:19xiang.zhangcreate