Memory leak when spawning

Juanjo Álvarez juanjux at yahoo.es
Fri Feb 16 23:13:29 EST 2001


Steve Purcell dijo sobre Re: Memory leak when spawning,
en fecha: Thu, 15 Feb 2001 15:31:22 +0100

|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 prefer (foo, foo, foo) = (1,2,3), it's more traditional.



More information about the Python-list mailing list