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 facundobatista
Recipients facundobatista, ggenellina, teoliphant
Date 2007-11-06.23:01:38
SpamBayes Score 0.011986174
Marked as misclassified No
Message-id <1194390099.26.0.0260637173857.issue1742669@psf.upfronthosting.co.za>
In-reply-to
Content
I'm positive that this shouldn't happen. There should NOT be any
difference between longs and ints in nowadays Python, so you never
should say to an user to call that long() before the %d.

And, you have some strange behaviours... for example:

>>> "%d" % 9e8
'900000000'
>>> "%d" % 9e9
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: int argument required

Why the first is ok and in the second you should have called it through
long()?

Gabriel, could you please take a look to the recommendations that Travis
is doing? Maybe the patch could be simpler... In any case, please
confirm if yes or no, :)
History
Date User Action Args
2007-11-06 23:01:39facundobatistasetspambayes_score: 0.0119862 -> 0.011986174
recipients: + facundobatista, teoliphant, ggenellina
2007-11-06 23:01:39facundobatistasetspambayes_score: 0.0119862 -> 0.0119862
messageid: <1194390099.26.0.0260637173857.issue1742669@psf.upfronthosting.co.za>
2007-11-06 23:01:39facundobatistalinkissue1742669 messages
2007-11-06 23:01:38facundobatistacreate