[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.
benji at benjiyork.com
Sat May 12 03:07:24 CEST 2007
Eric V. Smith wrote:
> Benji York wrote:
>> zope.interface also allows "lazy" imports using string versions of
>> module names in specific circumstances where circular dependencies are
> Could you give an example of that? I'm familiar with zope.interface,
> but not with this feature.
I was mistaken, it's actually zope.dottedname that does this, which is
then used by zope.app.container.constraints. My confusion stems from
the fact that zope.app.container.constraints is often used when defining
My only reason for bringing it up was to reinforce the idea that it's a
popular thing to reinvent, so either adding this to the stdlib or
(preferably) creating a small, solid module as a stand-alone project.
More information about the Python-3000