On Wed, 13 Apr 2016, mmarco wrote:

@optional('eggs')

And then, several things happen:

 2. On startup, the function `spam` is defined only if the package `eggs` is
    installed. In particular, tab completion would only show it if the
    package is installed.

That would be extremely nice. But we have also options like algorithm='bliss'. So in ideal solution installing a package would even change behaviour (and documentation) of existing functions!

And yes, it would need rethinking structure from scratch.

--
Jori Mäntysalo

Reply via email to