On Tue, Nov 7, 2017 at 8:45 AM, Nathaniel Smith <njs at pobox.com> wrote: > Also, IIRC it's actually impossible to set the stacklevel= correctly when > you're deprecating a whole module and issue the warning at import time, > because you need to know how many stack frames the import system uses. Doh, I didn't remember correctly. Actually Brett fixed this in 3.5: https://bugs.python.org/issue24305 -n -- Nathaniel J. Smith -- https://vorpus.org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4