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 belopolsky
Recipients Rhamphoryncus, belopolsky, duncanb, facundobatista, terry.reedy
Date 2008-03-19.23:07:17
SpamBayes Score 0.3021158
Marked as misclassified No
Message-id <1205968039.16.0.354623514602.issue2417@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch fixes the cases discovered so far.  It is possible that 
in some of these cases creation of the long object that is later 
discarded can be avoided by detecting small int return early, but such 
optimizations should probably be left for later.

Any advise on how to write a unit test?  Should the unit test detect 
python compiled with NSMALLNEGINTS + NSMALLPOSINTS == 0 and disable 
identity checks?
History
Date User Action Args
2008-03-19 23:07:19belopolskysetspambayes_score: 0.302116 -> 0.3021158
recipients: + belopolsky, duncanb, terry.reedy, facundobatista, Rhamphoryncus
2008-03-19 23:07:19belopolskysetspambayes_score: 0.302116 -> 0.302116
messageid: <1205968039.16.0.354623514602.issue2417@psf.upfronthosting.co.za>
2008-03-19 23:07:18belopolskylinkissue2417 messages
2008-03-19 23:07:18belopolskycreate