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.

Author serhiy.storchaka
Recipients ethan.furman, gvanrossum, serhiy.storchaka
Date 2015-02-15.18:33:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424025207.37.0.294145986044.issue23467@psf.upfronthosting.co.za>
In-reply-to
Content
The main motivation of PEP 461 was to help ease migration from, and/or have a single code base with, Python 2. But bytes formatting don't support the %r code supported in Python 2. Instead it supports the %a code which is exactly equivalent to the %r code in Python 2 but doesn't supported in Python 2. So it is not so easy to migrate from or have a single code base with Python 2 it the code uses the %r opcode.

As far as bytes formatting supports the %s code (an alias to %b) purely for compatibility with Python 2, it would be good to support the %r as an alias to %a.
History
Date User Action Args
2015-02-15 18:33:27serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, ethan.furman
2015-02-15 18:33:27serhiy.storchakasetmessageid: <1424025207.37.0.294145986044.issue23467@psf.upfronthosting.co.za>
2015-02-15 18:33:27serhiy.storchakalinkissue23467 messages
2015-02-15 18:33:27serhiy.storchakacreate