Title: Allow multiple imports from one module while preserving its namespace
Type: enhancement Stage: resolved
Components: Interpreter Core Versions:
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 2018-04-13 14:52 by zach.ware. 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 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.
Date User Action Args
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