Message79766
This happens on a 32-bit build on a 64-bit system, which happens to have
some interesting properties: for example, malloc() will happily allocate
memory larger than Py_SSIZE_T_MAX.
The crash is exactly triggered by the following snippet:
if sys.maxsize < (1 << 32) and struct.calcsize('P') == 4:
self.assertRaises(OverflowError,
self.marshal(b'\ta\n\tb').expandtabs,
sys.maxsize) |
|
Date |
User |
Action |
Args |
2009-01-13 18:50:40 | pitrou | set | recipients:
+ pitrou |
2009-01-13 18:50:39 | pitrou | set | messageid: <1231872639.69.0.60940480528.issue4935@psf.upfronthosting.co.za> |
2009-01-13 18:50:38 | pitrou | link | issue4935 messages |
2009-01-13 18:50:38 | pitrou | create | |
|