]> granicus.if.org Git - python/commit
Issue #18408: Fix dict_repr(), don't call PyObject_Repr() with an exception set
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 17 Jul 2013 23:00:45 +0000 (01:00 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 17 Jul 2013 23:00:45 +0000 (01:00 +0200)
commitf97dfd7b59c6472dc209f85c8f0a479dd6649859
treeb4352029df8068df834ebf0e5ec6f0c5f1cdd104
parent4755beac3cb918a64af956b3fda3ebb5ee85c96b
Issue #18408: Fix dict_repr(), don't call PyObject_Repr() with an exception set

PyObject_Repr() can removes the current exception. For example, module_repr()
calls PyErr_Clear() if calling loader.module_repr(mod) failed.
Objects/dictobject.c