Issue 33273: Allow multiple imports from one module while preserving its namespace
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) * ![]() |
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:59 | admin | set | github: 77454 |
| 2018-04-13 14:52:26 | zach.ware | set | status: open -> closed nosy:
+ zach.ware resolution: works for me |
| 2018-04-13 14:33:23 | jdemilledt | create | |
