[issue35375] name shadowing while a module tries to import another
Karthikeyan Singaravelan
report at bugs.python.org
Sun Dec 2 05:43:14 EST 2018
Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:
> A python user can't be expected to know the name of every possible file in the Python standard library. Maybe the current working directory should be removed from sys.path when importing from within another module not in the same directory.
I think there was a similar discussion about this since Perl did a related change : https://mail.python.org/pipermail/python-ideas/2017-June/045842.html
----------
nosy: +xtreak
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35375>
_______________________________________
More information about the Python-bugs-list
mailing list