[issue33828] Add versionchanged notes for string.Formatter
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
New submission from Xiang Zhang <angwerzx@126.com>: 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. ---------- assignee: docs@python components: Documentation messages: 319284 nosy: docs@python, eric.smith, xiang.zhang priority: normal severity: normal stage: needs patch status: open title: Add versionchanged notes for string.Formatter versions: Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by Xiang Zhang <angwerzx@126.com>: ---------- keywords: +patch pull_requests: +7283 stage: needs patch -> patch review _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Xiang Zhang <angwerzx@126.com> added the comment: 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/b9d8ad5130e0f77be28a3dec6d468e64708... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +7286 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +7287 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by Xiang Zhang <angwerzx@126.com>: ---------- pull_requests: +7288 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: 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/29fdea5ec2054f18e68733ec83edbd0b855... ---------- nosy: +miss-islington _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: 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/439a9b69985bd4757de1504d19b040f78e3... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Xiang Zhang <angwerzx@126.com> added the comment: 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/fc8ea20c6f8571de96791bc5f7f2d693406... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Xiang Zhang <angwerzx@126.com> added the comment: Thanks for the review, Eric. :-) ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33828> _______________________________________
participants (2)
-
miss-islington
-
Xiang Zhang