]> granicus.if.org Git - python/commit
Issue #24993: Handle import error in namereplace error handler
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Sep 2015 14:19:40 +0000 (16:19 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Sep 2015 14:19:40 +0000 (16:19 +0200)
commit38b8ae0f5b8a6165fbbfc5798e8a3067234af261
tree17508fafddcec7f4389eebb534be3fb15de5b4eb
parentaba2466d09f62610b4cb5d7bf16f145053a8417a
Issue #24993: Handle import error in namereplace error handler

Handle PyCapsule_Import() failure (exception) in PyCodec_NameReplaceErrors():
return immedialty NULL.
Python/codecs.c