Serhiy Storchaka added the comment:

What type of warning is more preferable here? It will be emitted at import. 
E.g.:

$ ./python -Wall
Python 3.5.0a1+ (default:28ba862036cc+, Feb 28 2015, 11:01:23) 
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
_frozen_importlib:321: SyntaxWarning: builtin type tkapp has no the __module__ 
attribute
_frozen_importlib:321: SyntaxWarning: builtin type tktimertoken has no the 
__module__ attribute

DeprecationWarning? RuntimeWarning?

----------
nosy: +ezio.melotti
priority: high -> normal

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

Reply via email to