]> granicus.if.org Git - python/commit
Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failure
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 18 Jul 2013 00:31:21 +0000 (02:31 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 18 Jul 2013 00:31:21 +0000 (02:31 +0200)
commit569f364017442cc46e15e55027984ee890e2f8e2
tree6ad30cb76ffec8f9d4470e7e02f48a06d0bce24d
parent8e4783273709df286fb6a83506ead4df8483a695
Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failure

Don't call PyErr_NewException() if an exception is set, or type_call() would
fail with an assertion error.
Modules/_curses_panel.c