Serhiy Storchaka added the comment: There is a problem with this patch. Py_XDECREF can execute arbitrary Python code and this code can call set_panel_userptr. Here is a reproducer (it causes segfault).
---------- resolution: fixed -> stage: committed/rejected -> commit review status: closed -> open Added file: http://bugs.python.org/file30606/userptr-segfault.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18113> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com