You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2018-03-11.08:58:13.761>created_at=<Date2018-02-25.08:46:54.819>labels= ['interpreter-core', '3.8', 'performance']
title='Speed up import from non-packages'updated_at=<Date2018-03-11.08:58:13.760>user='https://github.com/serhiy-storchaka'
Currently _bootstrap._handle_fromlist() is called which does nothing if the module is not a package, but adds an overhead of calling a Python function. The PR moves this check out of _handle_fromlist and avoid calling it if not needed.