New submission from Richard Oudkerk:

If the "if __name__ == '__main__'" idiom is not used on Windows you can get the 
recursive starting of new processes.

This is because importing the main module in a child process starts a new child 
process as a side effect.

There is a test intended to prevent this and raise RuntimeError instead, but it 
is currently ineffective.

----------
messages: 168189
nosy: sbt
priority: normal
severity: normal
status: open
title: multiprocessing can do equivalent of a fork bomb on Windows
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15646>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to