[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

Serhiy Storchaka report at bugs.python.org
Wed Nov 26 08:48:36 CET 2014


Serhiy Storchaka added the comment:

_tkinter classes are now heap types and they no longer have the __module__ attribute.

>>> import _tkinter
>>> _tkinter.TkappType.__module__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: __module__

See issue20204.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list