Ticket #650 (closed enhancement: fixed)
transform "raise MemoryError" into "PyErr_NoMemory()"
|Reported by:||scoder||Owned by:||scoder|
raise MemoryError raise MemoryError()
are not safe in the sense that they may fail to instantiate the exception (thus leading to a memory error ;-). They should be transformed into a call to PyErr_NoMemory().
See mailing list thread