commit | 2379bb664ac33b77d076a9a8db59f73af9eb3c8f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed Mar 03 21:53:41 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed Mar 03 21:53:41 2010 +0000 |
tree | a7425adce99d67bd8aabd03dab1e7d9f10d64067 | |
parent | ac80c157c74cf95e89fb74d7b3ba47b07846b2c2 [diff] |
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.