bpo-30794: added kill() method to multiprocessing.Process (#2528)

* bpo-30794: added kill() method to multiprocessing.Process

* Added entries to documentation and NEWS

* Refactored test_terminate and test_kill

* Fix SIGTERM and SIGKILL being used on Windows for the tests

* Added "versionadded" marker to the documentation

* Fix trailing whitespace in doc
This commit is contained in:
Vitor Pereira 2017-07-18 16:34:23 +01:00 committed by Antoine Pitrou
parent f474c5a3f3
commit ba75af7130
6 changed files with 40 additions and 9 deletions

View file

@ -97,5 +97,7 @@ class Popen(object):
if self.wait(timeout=1.0) is None:
raise
kill = terminate
def close(self):
self.finalizer()