Message158814
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. |
|
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 | |
|