File tree Expand file tree Collapse file tree 9 files changed +120
-101
lines changed
Filter options
Expand file tree Collapse file tree 9 files changed +120
-101
lines changed
Original file line number Diff line number Diff line change @@ -417,8 +417,8 @@ Subprocess Transports
417
417
418
418
Stop the subprocess.
419
419
420
- On POSIX systems, this method sends SIGTERM to the subprocess.
421
- On Windows, the Windows API function TerminateProcess() is called to
420
+ On POSIX systems, this method sends :py:const: ` ~signal. SIGTERM` to the subprocess.
421
+ On Windows, the Windows API function :c:func: ` ! TerminateProcess` is called to
422
422
stop the subprocess.
423
423
424
424
See also :meth: `subprocess.Popen.terminate `.
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ their completion.
235
235
236
236
.. note ::
237
237
238
- On Windows, :py:data: ` SIGTERM ` is an alias for :meth: `terminate `.
238
+ On Windows, :py:const: ` ~signal. SIGTERM ` is an alias for :meth: `terminate `.
239
239
``CTRL_C_EVENT `` and ``CTRL_BREAK_EVENT `` can be sent to processes
240
240
started with a *creationflags * parameter which includes
241
241
``CREATE_NEW_PROCESS_GROUP ``.
@@ -244,10 +244,10 @@ their completion.
244
244
245
245
Stop the child process.
246
246
247
- On POSIX systems this method sends :py:const: `signal.SIGTERM ` to the
247
+ On POSIX systems this method sends :py:const: `~ signal.SIGTERM ` to the
248
248
child process.
249
249
250
- On Windows the Win32 API function :c:func: `TerminateProcess ` is
250
+ On Windows the Win32 API function :c:func: `! TerminateProcess ` is
251
251
called to stop the child process.
252
252
253
253
.. method :: kill()
Original file line number Diff line number Diff line change @@ -157,4 +157,19 @@ Other Functions
157
157
.. function :: heapmin()
158
158
159
159
Force the :c:func: `malloc ` heap to clean itself up and return unused blocks to
160
- the operating system. On failure, this raises :exc: `OSError `.
160
+ the operating system. On failure, this raises :exc: `OSError `.
161
+
162
+
163
+ .. data :: CRT_ASSEMBLY_VERSION
164
+
165
+ The CRT Assembly version, from the :file: `crtassem.h ` header file.
166
+
167
+
168
+ .. data :: VC_ASSEMBLY_PUBLICKEYTOKEN
169
+
170
+ The VC Assembly public key token, from the :file: `crtassem.h ` header file.
171
+
172
+
173
+ .. data :: LIBRARIES_ASSEMBLY_NAME_PREFIX
174
+
175
+ The Libraries Assembly name prefix, from the :file: `crtassem.h ` header file.
Original file line number Diff line number Diff line change @@ -636,8 +636,8 @@ The :mod:`multiprocessing` package mostly replicates the API of the
636
636
637
637
.. method :: terminate()
638
638
639
- Terminate the process. On Unix this is done using the `` SIGTERM ` ` signal;
640
- on Windows :c:func: `TerminateProcess ` is used. Note that exit handlers and
639
+ Terminate the process. On POSIX this is done using the :py:const: ` ~signal. SIGTERM ` signal;
640
+ on Windows :c:func: `! TerminateProcess ` is used. Note that exit handlers and
641
641
finally clauses, etc., will not be executed.
642
642
643
643
Note that descendant processes of the process will *not * be terminated --
Original file line number Diff line number Diff line change @@ -859,8 +859,8 @@ Instances of the :class:`Popen` class have the following methods:
859
859
860
860
.. method :: Popen.terminate()
861
861
862
- Stop the child. On POSIX OSs the method sends SIGTERM to the
863
- child. On Windows the Win32 API function :c:func: `TerminateProcess ` is called
862
+ Stop the child. On POSIX OSs the method sends :py:const: ` ~signal. SIGTERM` to the
863
+ child. On Windows the Win32 API function :c:func: `! TerminateProcess ` is called
864
864
to stop the child.
865
865
866
866
Original file line number Diff line number Diff line change @@ -2388,11 +2388,11 @@ changes, or look through the Subversion logs for all the details.
2388
2388
using the format character ``'?' ``.
2389
2389
(Contributed by David Remahl.)
2390
2390
2391
- * The :class: `Popen ` objects provided by the :mod: `subprocess ` module
2392
- now have :meth: `terminate `, :meth: `kill `, and :meth: `send_signal ` methods.
2393
- On Windows, :meth: `send_signal ` only supports the :const: `SIGTERM `
2391
+ * The :class: `~subprocess. Popen ` objects provided by the :mod: `subprocess ` module
2392
+ now have :meth: `~subprocess.Popen. terminate `, :meth: `~subprocess.Popen. kill `, and :meth: `~subprocess.Popen. send_signal ` methods.
2393
+ On Windows, :meth: `! send_signal ` only supports the :py: const: `~signal. SIGTERM `
2394
2394
signal, and all these methods are aliases for the Win32 API function
2395
- :c:func: `TerminateProcess `.
2395
+ :c:func: `! TerminateProcess `.
2396
2396
(Contributed by Christian Heimes.)
2397
2397
2398
2398
* A new variable in the :mod: `sys ` module, :attr: `float_info `, is an
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ Some smaller changes made to the core Python language are:
169
169
... if '<critical>' in line:
170
170
... outfile.write(line)
171
171
172
- With the new syntax, the :func: `contextlib.nested ` function is no longer
172
+ With the new syntax, the :func: `! contextlib.nested ` function is no longer
173
173
needed and is now deprecated.
174
174
175
175
(Contributed by Georg Brandl and Mattias Brändström;
Original file line number Diff line number Diff line change @@ -741,8 +741,8 @@ Several new and useful functions and methods have been added:
741
741
742
742
Two methods have been deprecated:
743
743
744
- * :meth: `xml.etree.ElementTree.getchildren ` use ``list(elem) `` instead.
745
- * :meth: `xml.etree.ElementTree.getiterator ` use ``Element.iter `` instead.
744
+ * :meth: `! xml.etree.ElementTree.getchildren ` use ``list(elem) `` instead.
745
+ * :meth: `! xml.etree.ElementTree.getiterator ` use ``Element.iter `` instead.
746
746
747
747
For details of the update, see `Introducing ElementTree
748
748
<https://web.archive.org/web/20200703234532/http://effbot.org/zone/elementtree-13-intro.htm> `_
@@ -2680,7 +2680,7 @@ require changes to your code:
2680
2680
2681
2681
(Contributed by Georg Brandl; :issue: `5675 `.)
2682
2682
2683
- * The previously deprecated :func: `contextlib.nested ` function has been removed
2683
+ * The previously deprecated :func: `! contextlib.nested ` function has been removed
2684
2684
in favor of a plain :keyword: `with ` statement which can accept multiple
2685
2685
context managers. The latter technique is faster (because it is built-in),
2686
2686
and it does a better job finalizing multiple context managers when one of them
You can’t perform that action at this time.
0 commit comments