New submission from Big Stone: Hi,
I have two file "t1.py" and "t2.py" in the same directory. "t2.py" can't import "t1.py" when launched from python.exe on Python-3.6. it was ok on Python-3.5 (all other things being equal). And it's ok when launched from IDLE. Has there been a volontary change ? t1.py: print("i am t1") t2.py: import t1 print("I am t2") result (on WinPython-3.6): python.Exe C:\WinPython\basedir36\buildZero\winpython-64bit-3.6.x.2\test\t2.py Traceback (most recent call last): File "C:\WinPython\basedir36\buildZero\winpython-64bit-3.6.x.2\test\t2.py", line 1, in <module> import t1 ModuleNotFoundError: No module named 't1' C:\WinPython\basedir36\buildZero\winpython-64bit-3.6.x.2\scripts> nota: Winpython specificity is the use of python._pth, with: python36.zip DLLs Lib . import site ---------- components: Windows messages: 287919 nosy: Big Stone, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: "python.exe t2.py" doesn't work the same on Pythn-3.6 as Python-3.5 type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29578> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com