[issue29578] "python.exe t2.py" doesn't work the same on Python-3.6 as Python-3.5

Big Stone report at bugs.python.org
Thu Feb 16 09:22:14 EST 2017


Big Stone added the comment:

If I place a blank line or a semi-column, nothing happen.
If i put my relative path ..\test, then I must do "import t1"
If I set a __path__ in t2.py, then I have to do "from . import t1"

"There should be one-- and preferably only one --obvious way to do it.", but I don't clearly see it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29578>
_______________________________________


More information about the Python-bugs-list mailing list