Brett Cannon added the comment:

I have merged over issue #23810 because they are aiming to solve the same 
problem and the conversation is split too much.

Just thinking out loud, this situation is compounded by the fact that importlib 
itself has some warnings and so automatically stripping out stack frames might 
make those warnings look odd.

Still not sure if Larry considers this a release blocker for 3.5.0. And any 
solution will need to be solved in warnings.py and _warnings.c.

Some days I really hate our warnings system.

----------
dependencies:  -Suboptimal stacklevel of deprecation warnings for formatter and 
imp modules
keywords: +3.2regression
priority: normal -> release blocker
versions: +Python 3.5, Python 3.6

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

Reply via email to