This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Allow multiple imports from one module while preserving its namespace
Type: enhancement Stage: resolved
Components: Interpreter Core Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: jdemilledt, zach.ware
Priority: normal Keywords:

Created on 2018-04-13 14:33 by jdemilledt, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg315247 - (view) Author: Julian DeMille (jdemilledt) Date: 2018-04-13 14:33
An example of this would be to have something like `import <insert lib here>.{ <mod1>, <mod2>, ... }`
msg315248 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2018-04-13 14:52
Do you mean like `from lib import mod1, mod2, mod3`?  If that doesn't cover what you're looking for, try sending your idea (fleshed out a bit more :)) to the python-ideas@python.org mailing list, where you can get feedback on your idea.

For now, I'm closing this issue; if your discussions on python-ideas prove fruitful and you can come back with a clearer plan for a change, you can reopen it.
History
Date User Action Args
2022-04-11 14:58:59adminsetgithub: 77454
2018-04-13 14:52:26zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg315248

resolution: works for me
stage: resolved
2018-04-13 14:33:23jdemilledtcreate