[issue7267] format method: c presentation type broken

Eric Smith report at bugs.python.org
Tue Nov 10 14:20:19 CET 2009


Eric Smith <eric at trueblade.com> added the comment:

> so str.format() might raise an OverflowError for values >= 128 (or >=
256?)

Maybe, but the issue you reported is in unicode.format() (not
str.format()), and I think that should be fixed. I'm trying to think of
how best to address it.

As for the second issue you raise (which I think is that str.format()
can't take a unicode argument), would you mind opening a separate issue
for this and assigning it to me? Thanks.

----------

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


More information about the Python-bugs-list mailing list