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 vstinner
Recipients belopolsky, drj, mark.dickinson, vstinner
Date 2008-12-09.14:59:57
SpamBayes Score 7.80746e-05
Marked as misclassified No
Message-id <>
Ok, I understand why different versions of the same code gives 
different results: compiler flags! Python 2.5.1 is my Ubuntu version 
(should be compiled with -O3) whereas Python 2.7 and 3.1a0 are 
compiled by me with -00.

Results with Python 2.5.1:
 - with -O0, float(295147905179352891391L) gives 
 - with -O1, float(295147905179352891391L) gives 

I'm unable to isolate the exact compiler flag which changes the 
result. I tried all options listed in the gcc doc for the -O1 option:
Date User Action Args
2008-12-09 14:59:59vstinnersetrecipients: + vstinner, mark.dickinson, belopolsky, drj
2008-12-09 14:59:59vstinnersetmessageid: <>
2008-12-09 14:59:58vstinnerlinkissue3166 messages
2008-12-09 14:59:57vstinnercreate