comparison Python/errors.c @ 84793:fc718c177ee6

Issue #18520: Add a new PyStructSequence_InitType2() function, same than PyStructSequence_InitType() except that it has a return value (0 on success, -1 on error). * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure * Fix also some calls to PyDict_SetItemString(): handle error
author Victor Stinner <victor.stinner@gmail.com>
date Mon, 22 Jul 2013 22:24:54 +0200
parents 48a869a39e2d
children 9b77b3ee6fb8
comparison
equal deleted inserted replaced
84792:ffe9d73b5f8d 84793:fc718c177ee6