diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-04 08:07:16 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2018-02-04 08:07:16 (GMT) |
commit | 1a0239e12e161609fdf68f13cedbabca9bf353f1 (patch) | |
tree | 2d12336d203db5517abbc59191acd97dade92af9 /Python/fileutils.c | |
parent | 133514e9dcea9c8cc9d9dd459b1a7fb502747d7e (diff) | |
download | cpython-1a0239e12e161609fdf68f13cedbabca9bf353f1.zip cpython-1a0239e12e161609fdf68f13cedbabca9bf353f1.tar.gz cpython-1a0239e12e161609fdf68f13cedbabca9bf353f1.tar.bz2 |
[3.7] bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5510)
Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule.
(cherry picked from commit 38bfa8418f5d39bcc7478b8f7aef4a632c26172e)
Co-authored-by: Mario Corchero <mariocj89@gmail.com>
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions