This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients Ariel.Ben-Yehuda, berker.peksag, chris.jerdonek, eric.smith, ezio.melotti, loewis, serhiy.storchaka
Date 2012-09-16.19:19:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347823176.8.0.893087675186.issue15276@psf.upfronthosting.co.za>
In-reply-to
Content
The case with 10000.__format__ is confusing the parser. It sees:
<floating point number 10000.> __format__
which is indeed a syntax error.

Try:
>>> 10000 .__format__(u'n')
'10000'

or:
>>> (10000).__format__(u'n')
'10000'
History
Date User Action Args
2012-09-16 19:19:36eric.smithsetrecipients: + eric.smith, loewis, ezio.melotti, chris.jerdonek, berker.peksag, serhiy.storchaka, Ariel.Ben-Yehuda
2012-09-16 19:19:36eric.smithsetmessageid: <1347823176.8.0.893087675186.issue15276@psf.upfronthosting.co.za>
2012-09-16 19:19:36eric.smithlinkissue15276 messages
2012-09-16 19:19:36eric.smithcreate