Keith Prussing added the comment:
Caveat: It's been a few years so I'm trying to recall what I was doing at the
time and what my original problem was.
I understand and expect pdb to populate __package__ and __main__ to be what it
expects when run as a module with -m. However, I
New submission from Keith Prussing:
When a module is run under pdb in Python 3, __package__ is set to the empty
string instead of None. The attached minimum working example depicts this
behavior. The results are summarized in the following table.
=== == ==
Command