[issue39052] import error when in python -m pdb debug mode
chengyang
report at bugs.python.org
Sun Dec 15 02:19:59 EST 2019
New submission from chengyang <qingyongyang at sina.com>:
D:\data\mypython\photosort 的目录
2019/09/08 15:51 <DIR> .
2019/09/08 15:51 <DIR> ..
2019/09/08 15:51 88 myfilesort.py
2019/09/08 15:38 220 myhome.py
2019/12/15 10:44 275 mymain_menu.py
2019/08/22 21:24 39 myphotosort.py
2019/09/08 15:51 <DIR> siproject
2019/09/08 17:16 <DIR> __pycache__
4 个文件 622 字节
4 个目录 253,973,061,632 可用字节
D:\data\mypython\photosort>python -m pdb myhome.py
> d:\data\mypython\photosort\myhome.py(1)<module>()
-> import os
(Pdb) s
> d:\data\mypython\photosort\myhome.py(2)<module>()
-> import re
(Pdb) s
> d:\data\mypython\photosort\myhome.py(3)<module>()
-> import sys
(Pdb) s
> d:\data\mypython\photosort\myhome.py(4)<module>()
-> sys.path.append('d:\data\mypath\photosort')
(Pdb) s
> d:\data\mypython\photosort\myhome.py(5)<module>()
-> import myfilesort
(Pdb) s
--Call--
> <frozen importlib._bootstrap>(978)_find_and_load()
(Pdb)
----------
components: Windows
files: myfilesort.py
messages: 358412
nosy: chengyang, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: import error when in python -m pdb debug mode
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file48778/myfilesort.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39052>
_______________________________________
More information about the Python-bugs-list
mailing list