]> granicus.if.org Git - python/commit
bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474)
authorMario Corchero <mariocj89@gmail.com>
Sat, 3 Feb 2018 06:40:11 +0000 (06:40 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 3 Feb 2018 06:40:11 +0000 (16:40 +1000)
commit38bfa8418f5d39bcc7478b8f7aef4a632c26172e
tree33c7f43db19885633bbbc0f66cf46d9c74cb9de3
parent4e9da0d163731caa79811c723c703ee416c31826
bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474)

Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule.
Lib/pdb.py
Lib/test/test_pdb.py
Misc/NEWS.d/next/Library/2018-02-01-15-53-35.bpo-32691.VLWVTq.rst [new file with mode: 0644]