Message385778
The motivation behind my request is as follow:
I have a dynamic set class (i don't "know" it) and calling
__module__ for that class return a string, reload requires Module(and i don't think __module__ will be changed to module). The other functions (import, import_module) recieve a string.
Maybe is trivial to add a one liner, but it's a bit confusing to call another function in another module than importlib.
Also (not from what i found when searching) there is no way to get the module from name without using import_module/import.
maybe i found the solution, but there might be others that aren't so lucky. |
|
Date |
User |
Action |
Args |
2021-01-27 14:35:17 | stefan.mosoi | set | recipients:
+ stefan.mosoi, brett.cannon, ncoghlan, eric.snow, serhiy.storchaka |
2021-01-27 14:35:17 | stefan.mosoi | set | messageid: <1611758117.37.0.72483244377.issue43037@roundup.psfhosted.org> |
2021-01-27 14:35:17 | stefan.mosoi | link | issue43037 messages |
2021-01-27 14:35:16 | stefan.mosoi | create | |
|