[issue24305] The new import system makes it inconvenient to correctly issue a deprecation warning for a module
Nathaniel Smith
report at bugs.python.org
Sun Sep 6 11:04:16 CEST 2015
Nathaniel Smith added the comment:
Also just checked searchcode.com, which allows more fine-grained queries, and it reports ~6500 hits for "stacklevel=2" and exactly 0 for "stacklevel=8".
<refreshes, sees new post>
Huh. So the official word is that requiring stacklevel=8 on 3.4 is not a bug, rather all those modules are buggy? I've been telling people who asked to just leave the stacklevel=2 thing alone rather than adding version-specific conditionals, but I guess I can pass that on.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24305>
_______________________________________
More information about the Python-bugs-list
mailing list