Batuhan Taskaya <isidenti...@gmail.com> added the comment:

@mark.shannon what do you think about doing this both for `import <module>` and 
`from <module> import <something>`. It will definitely simplify the 
implementation (no need to extra visitors or flags, just using the default 
DEF_IMPORT one 
https://github.com/isidentical/cpython/commit/f8f8fcee4d1480970c356eec0f23c326b9fe674d)
 and also might help you to specialize other cases too (e.g importing 
submodules, from concurrent import futures).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44313>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to