Chris Jerdonek added the comment: > The case with 10000.__format__ is confusing the parser.
Interesting, good catch! That error did seem unusual. The two modified forms do give the same result as int.__format__() (though the type still differs). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15276> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com