Message158814
| Author |
pitrou |
| Recipients |
brechtm, mark.dickinson, pitrou, skrah |
| Date |
2012年04月20日.10:53:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334919213.24.0.942026374344.issue14630@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Reproduced under 32-bit Linux.
The problem seems to be that Py_SIZE(x) == 0 when x is Integer(0), but ob_digit[0] is still supposed to be significant. There's probably some overwriting with the trailing attributes.
By forcing Py_SIZE(x) == 1, the bug disappears, but it probably breaks lots of other stuff in longobject.c. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月20日 10:53:33 | pitrou | set | recipients:
+ pitrou, mark.dickinson, skrah, brechtm |
| 2012年04月20日 10:53:33 | pitrou | set | messageid: <1334919213.24.0.942026374344.issue14630@psf.upfronthosting.co.za> |
| 2012年04月20日 10:53:32 | pitrou | link | issue14630 messages |
| 2012年04月20日 10:53:32 | pitrou | create |
|