[issue25682] __package__ not set to None under pdb in Python 3

2021-06-14 Thread Keith Prussing
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

[issue25682] __package__ not set to None under pdb in Python 3

2015-11-20 Thread Keith Prussing
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