[issue9325] Add an option to pdb/trace/profile to run library module as a script

Nick Coghlan report at bugs.python.org
Wed Jan 10 18:52:52 EST 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

While I do think it makes sense to enhance `dis` in this regard, I'm also thinking it might be better to have that automatically fall back to a `python -m inspect module:qualname` style lookup in the event that `os.path.exists(infile)` is false.

So considering it out of scope for *this* issue makes sense.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue9325>
_______________________________________


More information about the Python-bugs-list mailing list