How to avoid freeing memory on exit?

Skip Montanaro skip at pobox.com
Tue Sep 3 16:02:05 CEST 2002


    Roy> Is there any way to get the interpreter to just exit without doing
    Roy> all that memory cleanup?

    Gerhard> os._exit

    Gumuz> so what does 'one' underscore prefixing a methodname mean?
 
    Simon> Proceed with caution.

In particular, in this case it means that Roy should make sure he *really*
doesn't care if __del__ methods associated with those 200,000 objects don't
get called.

-- 
Skip Montanaro
skip at pobox.com
consulting: http://manatee.mojam.com/~skip/resume.html




More information about the Python-list mailing list