[Python-ideas] "maybe import"?
Guido van Rossum
guido at python.org
Fri Dec 27 09:33:11 CET 2013
We shouldn't encourage optional dependencies. They often make code harder
to reason about or harder to read.
On Thursday, December 26, 2013, Amber Yust wrote:
> On Thu Dec 26 2013 at 8:57:42 PM, Gregory P. Smith <greg at krypto.org<javascript:_e({}, 'cvml', 'greg at krypto.org');>>
> wrote:
> > Such idioms are common. Though I don't think we should encourage their
> use.
>
> Is this a case of "we shouldn't encourage optional dependencies" or "we
> shouldn't encourage this kind of idiom as a means of implementing optional
> dependencies" - and if the latter, what alternative would you point people
> at instead?
>
--
--Guido van Rossum (on iPad)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131227/4d39b66e/attachment.html>
More information about the Python-ideas
mailing list