New submission from Maarten <mad...@gmail.com>:

When ncurses' function `set_panel_userptr` fails,
panel.set_userptr should not decrement the reference count of the previous 
userptr.

----------
components: Library (Lib)
messages: 375738
nosy: maarten
priority: normal
severity: normal
status: open
title: [curses.panel] Failed panel.set_userptr  will decrement refcount of 
original userptr
versions: Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 
3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41604>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to