homepage

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 pitrou
Recipients cvrebert, eric.smith, ncoghlan, pitrou
Date 2011年12月06日.10:37:58
SpamBayes Score 0.05217997
Marked as misclassified No
Message-id <1323167939.03.0.110784129797.issue13535@psf.upfronthosting.co.za>
In-reply-to
Content
Instead of requiring bit_length(), couldn't you simply compare self to 2**(bits-1) (for to_unsigned) and 2**bits (for to_signed)?
History
Date User Action Args
2011年12月06日 10:38:59pitrousetrecipients: + pitrou, ncoghlan, eric.smith, cvrebert
2011年12月06日 10:38:59pitrousetmessageid: <1323167939.03.0.110784129797.issue13535@psf.upfronthosting.co.za>
2011年12月06日 10:37:58pitroulinkissue13535 messages
2011年12月06日 10:37:58pitroucreate

AltStyle によって変換されたページ (->オリジナル) /