newsapps/beeswithmachineguns — pull request #25 by strathmeyer (2012-02-16 20:39:45+00:00)
Title: 'attack' causes fork bomb in Windows

The multiprocessing library needs special treatment in Windows, otherwise it causes a fork bomb. This is a known issue.
Bug description: http://bugs.python.org/issue6147

The best fix seems to be to wrap the main entry point in a __name__ == '__main__' check.
Fix description: http://docs.python.org/library/multiprocessing.html#windows

With this fix (and renaming bees to bees.py in my Scripts folder) I can happily cause destruction.