[Python-Dev] A cute new way to get an infinite loop
Marek "Baczek" Baczyński
imbaczek at gmail.com
Fri Sep 24 11:41:50 CEST 2004
On Thu, 23 Sep 2004 14:11:34 -0400, Tim Peters <tim.peters at gmail.com> wrote:
> [Marek Baczek Baczyński]
> > Doesn't it leak memory when Ctrl+C'd (on Windows at least?)
>
> Not really. "Leak" is reserved for cases where memory is unaccounted
> for. In this case, the memory is consumed by the ever-growing list:
[...]
I realized that the moment after I pressed 'Send'; felt so embarrassed
that I hoped no one would see that post :)
Next time I'll think. Twice.
--
{ Marek Baczyński :: UIN 57114871 :: GG 161671 :: JID imbaczek at jabber.gda.pl }
{ http://www.vlo.ids.gda.pl/ | imbaczek at poczta fm | http://www.promode.org }
.. .. .. .. ... ... ...... evolve or face extinction ...... ... ... .. .. .. ..
More information about the Python-Dev
mailing list