Ticket #650 (closed enhancement: fixed)
transform "raise MemoryError" into "PyErr_NoMemory()"
| Reported by: | scoder | Owned by: | scoder |
|---|---|---|---|
| Priority: | major | Milestone: | 0.14.1 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description
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
http://comments.gmane.org/gmane.comp.python.cython.user/2383?set_lines=100000
Change History
Note: See
TracTickets for help on using
tickets.
