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 <rep...@bugs.python.org> <http://bugs.python.org/issue23815> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com