Serhiy Storchaka added the comment: Yes, you are right, the stacklevel should be 4. Thank you for your report and testing Tim.
Committed the patch without any deprecation. Will add a deprecation in separate issue. ---------- stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28563> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com