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 pitrou
Date 2009-01-13.18:50:38
SpamBayes Score 0.03042624
Marked as misclassified No
Message-id <1231872639.69.0.60940480528.issue4935@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2009-01-13 18:50:40pitrousetrecipients: + pitrou
2009-01-13 18:50:39pitrousetmessageid: <1231872639.69.0.60940480528.issue4935@psf.upfronthosting.co.za>
2009-01-13 18:50:38pitroulinkissue4935 messages
2009-01-13 18:50:38pitroucreate