Neil Schemenauer added the comment: I've updated my patch into a sequence, the first of which implements PEP 461.
02-code-a.patch adds support for %a (ascii() on arg) 03-py2-flag.patch makes %s and %r behave similar to Python 2 if a command line flag is provided to the interpreter 04-py-eq.patch makes the command line flag also enable comparision between bytes() and str() (warning is generated). ---------- title: patch to implement %-interpolation for bytes (roughly PEP 461) -> patch to implement PEP 461 (%-interpolation for bytes) Added file: http://bugs.python.org/file33574/01-pep461.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20284> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com