[issue42564] "from .__init__ import ..." syntax imports a duplicate module

Gregory Szorc report at bugs.python.org
Mon Dec 7 21:12:26 EST 2020


Gregory Szorc <gregory.szorc at gmail.com> added the comment:

Who uses this syntax? https://github.com/search?l=Python&q=%22from+.__init__+import%22&type=Code says a lot of random code, surprisingly/sadly.

As for python-ideas, thanks for the suggestion: I may very well craft an email!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42564>
_______________________________________


More information about the Python-bugs-list mailing list