Stefan Mosoi <st3f4n2...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43037> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com