Message148929
| Author |
mark.dickinson |
| Recipients |
cvrebert, eric.smith, mark.dickinson, ncoghlan, pitrou |
| Date |
2011年12月06日.19:24:47 |
| SpamBayes Score |
2.9486884e-05 |
| Marked as misclassified |
No |
| Message-id |
<1323199490.6.0.379850756991.issue13535@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The 'self.bit_length() >= bits' condition for to_unsigned doesn't look right to me.
E.g., if bits == 32, I'd expect the acceptable range of values to be range(-2**31, 2**31)---i.e., including -2**31, but excluding 2**31. But the ValueError for 'self.bit_length() >= 32' means that -2**31 is excluded. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月06日 19:24:50 | mark.dickinson | set | recipients:
+ mark.dickinson, ncoghlan, pitrou, eric.smith, cvrebert |
| 2011年12月06日 19:24:50 | mark.dickinson | set | messageid: <1323199490.6.0.379850756991.issue13535@psf.upfronthosting.co.za> |
| 2011年12月06日 19:24:47 | mark.dickinson | link | issue13535 messages |
| 2011年12月06日 19:24:47 | mark.dickinson | create |
|