New submission from Armin Rigo: Run this example on a 32-bit machine with more than 2GB of addressable RAM (e.g. by default, more or less anything but Windows).
On Python 2.7 it raises "SystemError: Negative size passed to PyString_FromStringAndSize". On a debug version, it causes an assert in _Py_Mangle() to trigger. ---------- files: mem2.py messages: 186135 nosy: arigo priority: normal severity: normal status: open title: assert fails in _Py_Mangle versions: Python 2.7 Added file: http://bugs.python.org/file29688/mem2.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17645> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com