Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, unicode, long, int, and float arguments.

This commit is contained in:
Eric Smith 2009-02-20 14:02:36 +00:00
parent 8b8c2df9b1
commit e9fb6863da
2 changed files with 35 additions and 17 deletions

View file

@ -12,6 +12,10 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
- Issue #5247: Improve error message when unknown format codes are
used when using str.format() with str, unicode, long, int, and
float arguments.
- Running Python with the -3 option now also warns about classic division
for ints and longs.