[issue14123] Doc change re old and new string formatting
New submission from Christine Jones <silly.english.knights@gmail.com>: Change to this http://docs.python.org/py3k/library/stdtypes.html as suggested by Nick Coghlan here http://www.gossamer-threads.com/lists/python/dev/969817 "The formatting operations described here are modelled on C's printf() syntax. They only support formatting of certain builtin types, and the use of a binary operator means that care may be needed in order to format tuples and dictionaries correctly. As the new string formatting syntax is more powerful, flexible, extensible and handles tuples and dictionaries naturally, it is recommended for new code. However, there are no current plans to deprecate printf-style formatting." ---------- assignee: docs@python components: Documentation messages: 154283 nosy: docs@python, telephonebook priority: normal severity: normal status: open title: Doc change re old and new string formatting _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Changes by Eric V. Smith <eric@trueblade.com>: ---------- nosy: +eric.smith _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Changes by Glenn Linderman <v+python@g.nevcal.com>: ---------- nosy: +v+python _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Changes by Tshepang Lekhonkhobe <tshepang@gmail.com>: ---------- nosy: +tshepang _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Changes by Tshepang Lekhonkhobe <tshepang@gmail.com>: ---------- title: Doc change re old and new string formatting -> Indicate that there are no current plans to deprecate printf-style formatting _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Éric Araujo <merwok@netwok.org> added the comment: I’d like to make a patch with Nick’s text and a few examples. ---------- assignee: docs@python -> eric.araujo nosy: +eric.araujo, ncoghlan stage: -> needs patch versions: +Python 2.7, Python 3.2, Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Roundup Robot <devnull@psf.upfronthosting.co.za> added the comment: New changeset 80069bbae26d by Gregory P. Smith in branch '3.2': Issue #14123: Explicitly mention that old style % string formatting has caveats http://hg.python.org/cpython/rev/80069bbae26d New changeset 98a1855ebfe1 by Gregory P. Smith in branch 'default': Issue #14123: Explicitly mention that old style % string formatting has caveats but is not going away any time soon. http://hg.python.org/cpython/rev/98a1855ebfe1 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Éric Araujo <merwok@netwok.org> added the comment: Apparently this was too urgent too wait for my patch :) Not closing yet, as there are still phrasing issues discussed on python-dev. ---------- assignee: eric.araujo -> nosy: +gregory.p.smith _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Changes by Ezio Melotti <ezio.melotti@gmail.com>: ---------- nosy: +ezio.melotti stage: needs patch -> committed/rejected type: -> enhancement _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Mark Lawrence added the comment: I can't see too much sense in leaving this open, what are your opinions? ---------- nosy: +BreamoreBoy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
Ezio Melotti added the comment: The only issue seems about the use of the word "deprecate", but I think it's fine, so I'll close this issue. ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14123> _______________________________________
participants (8)
-
Christine Jones
-
Eric V. Smith
-
Ezio Melotti
-
Glenn Linderman
-
Mark Lawrence
-
Roundup Robot
-
Tshepang Lekhonkhobe
-
Éric Araujo