]> granicus.if.org Git - python/commit
Issue #25556: Add assertions to PyObject_GetItem() to ensure that an exception
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 5 Nov 2015 12:56:58 +0000 (13:56 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 5 Nov 2015 12:56:58 +0000 (13:56 +0100)
commite20310fa19188f764b84fbdc40d32d6933f98af9
treec73dc9663e3eae48af1d2933c60ae3b8d9de9641
parentef072961e1773ad6b066ae22fc507c28f91c6a3a
Issue #25556: Add assertions to PyObject_GetItem() to ensure that an exception
is raised when it returns NULL.

Simplify also ceval.c: rely on the fact that PyObject_GetItem() raised an
exception when it returns NULL.
Objects/abstract.c
Python/ceval.c