[Import-SIG] PEP 402: specification questions
pje at telecommunity.com
Thu Nov 10 19:28:22 CET 2011
On Thu, Nov 10, 2011 at 1:14 PM, "Martin v. Löwis" <martin at v.loewis.de>wrote:
> That already fails with PEP 402: you can't import the virtual package,
> only the subpackages. It then just stops with that import failed, and
> doesn't even try to look for subpackages. So specification and
> implementation really match here - it's not just an implementation
Right - you found a bug in the spec, in that it should either explicitly
amend the from-import algorithm to treat the first import the same as an
AttributeError, or else say, "use 'import zope.interface as interface'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Import-SIG