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.

Author stefan.mosoi
Recipients brett.cannon, eric.snow, ncoghlan, serhiy.storchaka, stefan.mosoi
Date 2021-01-27.14:35:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611758117.37.0.72483244377.issue43037@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-01-27 14:35:17stefan.mosoisetrecipients: + stefan.mosoi, brett.cannon, ncoghlan, eric.snow, serhiy.storchaka
2021-01-27 14:35:17stefan.mosoisetmessageid: <1611758117.37.0.72483244377.issue43037@roundup.psfhosted.org>
2021-01-27 14:35:17stefan.mosoilinkissue43037 messages
2021-01-27 14:35:16stefan.mosoicreate