[issue7300] Unicode arguments in str.format()

Ezio Melotti report at bugs.python.org
Sun Dec 30 19:45:16 CET 2012


Ezio Melotti added the comment:

2.6 only gets security fixes.

> My patch converts the format string to unicode using the default 
> encoding. It's inconsistent with str%args: str%args converts str to 
> unicode using the ASCII charset (if a least one argument is an unicode 
> string), not the default encoding.

I think it's better to be consistent and use ASCII.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7300>
_______________________________________


More information about the Python-bugs-list mailing list