[issue23815] Segmentation fault when create _tkinter objects

Serhiy Storchaka report at bugs.python.org
Sat May 7 17:23:38 EDT 2016


Serhiy Storchaka added the comment:

There is special exception -- tp_new is not inherited for static types whose base class is 'object' (see a comment in inherit_special() in Objects/typeobject.c#4569 for explanation). After converting them to heap types they became inherit tp_new from object.

Proposed patch adds workarounds for types in _tkinter and curses.panel modules.

----------
assignee:  -> serhiy.storchaka
keywords: +patch
stage:  -> patch review
versions:  -Python 3.4
Added file: http://bugs.python.org/file42775/tp_new_workaround.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23815>
_______________________________________


More information about the Python-bugs-list mailing list