Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: See how similar issue was solved in Pyflakes: https://github.com/PyCQA/pyflakes/pull/273.
Python tests also needed special workaround, see Lib/test/test_sys_settrace.py and issue17288. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33211> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com