]> granicus.if.org Git - python/commit
convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 6 Jun 2010 20:38:02 +0000 (20:38 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 6 Jun 2010 20:38:02 +0000 (20:38 +0000)
commit2872e5b1f893c47acb0a194dbf92766ae1ff9e37
tree59fcfbd2f88ae7327df20b5ee105836d229a5bc9
parent5cb6239f00e1d298be8e6198d945e05d9feaa9c7
convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure

Raise a more revelant error (MemoryError instead of TypeError)
Python/getargs.c