[Python-checkins] peps: PEP 461: marked as accepted; added comment about using %a instead of %r

ethan.furman python-checkins at python.org
Thu Mar 27 22:20:28 CET 2014


http://hg.python.org/peps/rev/d7d4949e2cd1
changeset:   5442:d7d4949e2cd1
user:        Ethan Furman <ethan at stoneleaf.us>
date:        Thu Mar 27 14:20:20 2014 -0700
summary:
  PEP 461: marked as accepted; added comment about using %a instead of %r

files:
  pep-0461.txt |  7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)


diff --git a/pep-0461.txt b/pep-0461.txt
--- a/pep-0461.txt
+++ b/pep-0461.txt
@@ -3,14 +3,14 @@
 Version: $Revision$
 Last-Modified: $Date$
 Author: Ethan Furman <ethan at stoneleaf.us>
-Status: Draft
+Status: Accepted
 Type: Standards Track
 Content-Type: text/x-rst
 Created: 2014-01-13
 Python-Version: 3.5
 Post-History: 2014-01-14, 2014-01-15, 2014-01-17, 2014-02-22, 2014-03-25,
               2014-03-27
-Resolution:
+Resolution: http://mail.python.org/pipermail/python-dev/2014-March/133621.html
 
 
 Abstract
@@ -157,7 +157,8 @@
 Unsupported codes
 -----------------
 
-``%r`` (which calls ``__repr__`` and returns a ``str``) is not supported.
+``%r`` (which calls ``__repr__`` and returns a ``str``) is not supported
+(``%a`` is a good alternative, though).
 
 
 Compatibility with Python 2

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list