Ask Solem <a...@opera.com> added the comment:

It seems that Process.terminate is not meant to be used by the child, but only 
the parent.

>From the documentation:

  "Note that the start(), join(), is_alive() and exit_code methods
  should only be called by the process that created the process object."

Either terminate() should be added to this list,
or terminate should be patch to call sys.exit in a child process.

I vote for the former, so I attached a doc patch.

----------
keywords: +patch
Added file: http://bugs.python.org/file19466/i8028.patch

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

Reply via email to