[issue21762] update the import machinery to only use __spec__

Nick Coghlan report at bugs.python.org
Sun Jun 15 05:44:34 CEST 2014


Nick Coghlan added the comment:

The spec is authoritative for "how was this imported?". The differences between that and the module attributes then provide a record of any post-import modifications.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21762>
_______________________________________


More information about the Python-bugs-list mailing list