[issue33547] Relative imports do not replace local variables
Rolf Campbell
report at bugs.python.org
Thu May 17 21:56:19 EDT 2018
Rolf Campbell <thats.unpossible at gmail.com> added the comment:
Thanks David, I agree that my assumption that the local valiables were not being replaced is not really what was going on there.
I also agree that, while this might not strictly classify as a bug, it's probably not the most helpful/useful way that "from ." could be implemented for __main__. Why does it act different than in modules?
I have reproduced my original ploblem in a simplified scenario, for which I will raise a new bug.
Thanks
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33547>
_______________________________________
More information about the Python-bugs-list
mailing list