Memory leak when spawning

Steve Purcell stephen_purcell at yahoo.com
Thu Feb 15 15:31:22 CET 2001


Mark Hammond wrote:
> Also, note that your code:
>     (None, None, None,
>      None, None, sec,
>      None, None, None) = localtime(time())
> 
> Is very very dangerous - it is changing the builtin value None!!

Indeed. That got me thinking; is it defined how the following should work?

  (blah, blah, blah) = (1,2,3)

I get blah == 3.

I won't lose sleep over it...

-Steve

-- 
Steve Purcell, Pythangelist
Get testing at http://pyunit.sourceforge.net/
Get servlets at http://pyserv.sourceforge.net/
"Even snakes are afraid of snakes." -- Steven Wright




More information about the Python-list mailing list