Is this a bug in multiprocessing or in my script?

Piet van Oostrum piet at cs.uu.nl
Wed Aug 5 22:07:29 CEST 2009


>>>>> sturlamolden <sturlamolden at yahoo.no> (s) wrote:

>s> On 5 Aug, 15:40, Jesse Noller <jnol... at gmail.com> wrote:
>>> Sturla;
>>> 
>>> That bug was fixed unless I'm missing something.

>s> It is still in SVN. Change every call to os._exit to sys.exit
>s> please. :)

Calling os.exit in a child process may be dangerous. It can cause
unflushed buffers to be flushed twice: once in the parent and once in
the child. 
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list