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 mark.dickinson
Recipients belopolsky, mark.dickinson
Date 2008-05-09.21:15:04
SpamBayes Score 0.09385084
Marked as misclassified No
Message-id <1210367705.78.0.199512926374.issue2804@psf.upfronthosting.co.za>
In-reply-to
Content
> On the second thought, it is theoretically possible to have a long int 
a
> for which a >> maxsize is not zero

This occurred to me too; somehow this hardly seems worth worrying about-
--there are already other problems in longobject.c when integers get 
very large, and I don't think one more is going to hurt.  Perhaps a 
warning somewhere in the documentation would be appropriate.

(It seems to me that if anyone really cares, the *right* thing to do is
to limit all integers to be at most maxsize bits long.)

Thanks for the patch!  I'll take a look.
History
Date User Action Args
2008-05-09 21:15:06mark.dickinsonsetspambayes_score: 0.0938508 -> 0.09385084
recipients: + mark.dickinson, belopolsky
2008-05-09 21:15:05mark.dickinsonsetspambayes_score: 0.0938508 -> 0.0938508
messageid: <1210367705.78.0.199512926374.issue2804@psf.upfronthosting.co.za>
2008-05-09 21:15:04mark.dickinsonlinkissue2804 messages
2008-05-09 21:15:04mark.dickinsoncreate