[issue25682] __package__ not set to None under pdb in Python 3
Irit Katriel
report at bugs.python.org
Mon Jun 14 13:00:45 EDT 2021
Irit Katriel <iritkatriel at yahoo.com> added the comment:
pdb imports the module with importlib, and populates __main__ with data from its spec, including the package. This doesn't contradict the fact that the python command line can have only one "-m".
What is the actual problem here?
----------
nosy: +iritkatriel
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25682>
_______________________________________
More information about the Python-bugs-list
mailing list