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.
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='https://github.com/brettcannon'closed_at=<Date2021-03-24.15:27:17.592>created_at=<Date2020-10-23.23:20:55.502>labels= ['interpreter-core', 'type-bug']
title='Prefer using __spec__ over module_repr() for ModuleType.__repr__'updated_at=<Date2021-03-24.15:27:17.591>user='https://github.com/brettcannon'
Thinking about it more, raising ImportWarning (or DeprecationWarning) is unnecessarily noisy as the existence of the module isn't problematic, it just won't be used anymore in the future. So updating the code to use __spec__ first and then document in "What's New" should be good enough.