[Import-SIG] PEP 451 (ModuleSpec) round 3

Nick Coghlan ncoghlan at gmail.com
Thu Aug 29 11:43:19 CEST 2013


Just a general comment: spec and module mismatches have to be considered
*normal*, and the module has to take precedence. Otherwise you risk
breaking too much code.

The spec is *not* authoritative in general. The only exception is that when
__name__ ends with "__main__", pickle should be updated to look at the name
on the spec instead.

Even the attribute setting after create_module should respect custom
settings provided by the loader.

Cheers,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/import-sig/attachments/20130829/c833ebe9/attachment.html>


More information about the Import-SIG mailing list