]> granicus.if.org Git - python/commit
Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL()
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 3 Mar 2010 21:53:41 +0000 (21:53 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 3 Mar 2010 21:53:41 +0000 (21:53 +0000)
commit2379bb664ac33b77d076a9a8db59f73af9eb3c8f
treea7425adce99d67bd8aabd03dab1e7d9f10d64067
parentac80c157c74cf95e89fb74d7b3ba47b07846b2c2
Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL()
by Py_DECREF() to avoid a crash in pydebug mode.

Use po->wo==NULL to detect than the panel is in the lop list or not.
Modules/_curses_panel.c