Xavier de Gaye <xdeg...@gmail.com> added the comment:
As a workaround insert the following hard-coded breakpoint before the import statement and run your script with python, i.e. 'python myhome.py' instead of 'python -m pdb myhome.p'. from pdb import Pdb; Pdb(skip=['importlib*']).set_trace() ---------- nosy: +xdegaye _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39052> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com