[zope2-tracker] [Bug 659968] Re: guarded_import does not support 5-args form
Vincent Pelletier
659968 at bugs.launchpad.net
Mon Oct 18 10:01:24 EDT 2010
I started thinking about implementing this support, and here are my conclusion:
Basically, relative import means "relative to current package". So implementing "level" argument support means restricted_import would be expected to be called as part of a package.
I there some sort of "Restricted Package" ?
If there is such a thing, then it would make sense to implement full support (and this would probably provide with exampled).
Otherwise, I guess it's ok the way it is now, and this bug could be closed as resolved.
And I should probably open another bug for the specific xrange case I
mentioned.
--
guarded_import does not support 5-args form
https://bugs.launchpad.net/bugs/659968
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
More information about the zope2-tracker
mailing list