[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

Brett Cannon report at bugs.python.org
Tue Sep 8 20:11:02 CEST 2015


Brett Cannon added the comment:

Typically it's warnings.warn(message, DeprecationWarning, stacklevel=2), but that stack level is wrong for Python 3.3 - 3.4 (fixed in 3.5.0). If this is purely for Python 3.6 I might be adding a nicer API for module deprecations, but if this is for other versions then the call above is the right one except for Python 3.3/3.4.

----------

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


More information about the Python-bugs-list mailing list