Memory leak when spawning

Gareth McCaughan Gareth.McCaughan at pobox.com
Fri Feb 16 12:52:00 EST 2001


Tim Peters wrote:

>                                             There is no "don't care"
> assignment target in Python.
> 
> > Any suggestions on that ?
> 
> Use the name undef, if you like:

I like "_".

    >>> _,_,x,_,_ = 1,2,3,4,5
    >>> x
    3

Easy to type, visually mnemonic, and using _ as a disposable
variable fits well with its use in interactive mode.

-- 
Gareth McCaughan  Gareth.McCaughan at pobox.com
sig under construc



More information about the Python-list mailing list