> import the_module

> the_module.sys

> would work, but

> from the_module import sys

> would not work?

> That might be odd and confusing.

Good point. I'm not familiar with CPython internals so I'm not sure how
this would work on the implementation side, but I definitely think it would
be important to not have an inconsistency here.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/MRF4UEESEDGFXRRJP7UCVJ7Y3TRHPZXO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to