PEP 312 - Making lambdas implicit worries me, surely it's just the name 'lambda' that is bad...

Dave Brueck dave at pythonapocrypha.com
Fri Mar 7 00:19:56 CET 2003


On Thu, 6 Mar 2003, Alexander Schmolck wrote:

> > Nope, never. And it has _never_ caused me problems in practice.
>
> Just out of curiosity, do you do much work in interactive shells?
> Maybe our stylistic differences might have to do with our working
> habbits -- much of the code I write has to be 'import *' safe, because
> otherwise it would be cumbersome for interactive sessions.

Most of the interactive work I do is during development - testing mostly.
Anytime the user of the program will be doing stuff interactively I use
__all__ to make it 'import *' safe. Maybe I didn't get bitten because I
was overly cautious. ;-)

Have fun,
Dave





More information about the Python-list mailing list