Memory leak when spawning

Chris Gonnerman chris.gonnerman at usa.net
Mon Feb 19 04:11:58 CET 2001


----- Original Message -----
From: "Juanjo Álvarez" <juanjux at yahoo.es>
Subject: Re: Memory leak when spawning


> 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.

To be traditional, shouldn't it be:

(spam, spam, spam) = (1, 2, 3)

pythonically-yr's  --  Chris.






More information about the Python-list mailing list