[issue37089] `import Lib.os` works on windows (but shouldn't)

Guido van Rossum report at bugs.python.org
Tue Jun 4 15:10:35 EDT 2019


Guido van Rossum <guido at python.org> added the comment:

I doubt it's meant as a feature. I don't recall anything about it. I suspect it's got to do with limitations of the Windows installer (at the time). Maybe there are other things that are siblings of "Lib" that must be importable, e.g. DLLs?

I recommend taking this up with Steve Dower, who owns the Windows installers these days.

----------

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


More information about the Python-bugs-list mailing list