Are min() and max() thread-safe?
Carl Banks
pavlovevidence at gmail.com
Thu Sep 17 18:56:55 EDT 2009
On Sep 17, 5:34 am, Hendrik van Rooyen <hend... at microcorp.co.za>
wrote:
> I have subsequently seen that it is red herring in this context though, as it
> is some memory problem - the crash comes during the list creation, and has
> nothing to do with the min/max processing. One can demo it by simply trying
> to create a big list at the interactive prompt, and after a while you get
> the "Killed" message.
>
> a = range(100000000) does it for me on my machine.
Ah, I see. Yeah, that is rotten behavior in the sense that we don't
have 128-bit machines with 200 terabytes of ram. :) Give it a few
months, though
Carl Banks
More information about the Python-list
mailing list