Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bac9a53

Browse files
committed
Break up the 'someos' docs classification based on a more user-focused scheme, including creation of a separate 'Concurrent Execution' section
1 parent 273069c commit bac9a53

7 files changed

Lines changed: 44 additions & 30 deletions

File tree

Doc/library/concurrency.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.. _concurrency:
2+
3+
********************
4+
Concurrent Execution
5+
********************
6+
7+
The modules described in this chapter provide support for concurrent
8+
execution of code. The appropriate choice of tool will depend on the
9+
task to be executed (CPU bound vs IO bound) and preferred style of
10+
development (event driven cooperative multitasking vs preemptive
11+
multitasking) Here's an overview:
12+
13+
14+
.. toctree::
15+
16+
threading.rst
17+
multiprocessing.rst
18+
concurrent.futures.rst
19+
subprocess.rst
20+
sched.rst
21+
queue.rst
22+
select.rst
23+
24+
25+
The following are support modules for some of the above services:
26+
27+
.. toctree::
28+
29+
dummy_threading.rst
30+
_thread.rst
31+
_dummy_thread.rst

Doc/library/datatypes.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ The following modules are documented in this chapter:
2525
heapq.rst
2626
bisect.rst
2727
array.rst
28-
sched.rst
29-
queue.rst
3028
weakref.rst
3129
types.rst
3230
copy.rst

Doc/library/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ the `Python Package Index <http://pypi.python.org/pypi>`_.
5757
fileformats.rst
5858
crypto.rst
5959
allos.rst
60-
someos.rst
60+
concurrency.rst
6161
ipc.rst
6262
netdata.rst
6363
markup.rst

Doc/library/ipc.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ The modules described in this chapter provide mechanisms for different processes
88
to communicate.
99

1010
Some modules only work for two processes that are on the same machine, e.g.
11-
:mod:`signal` and :mod:`subprocess`. Other modules support networking protocols
11+
:mod:`signal` and :mod:`mmap`. Other modules support networking protocols
1212
that two or more processes can used to communicate across machines.
1313

1414
The list of modules described in this chapter is:
1515

1616

1717
.. toctree::
1818

19-
subprocess.rst
2019
socket.rst
2120
ssl.rst
22-
signal.rst
2321
asyncore.rst
2422
asynchat.rst
23+
signal.rst
24+
mmap.rst

Doc/library/someos.rst

Lines changed: 0 additions & 24 deletions
This file was deleted.

Doc/library/text.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ Python's built-in string type in :ref:`textseq`.
2121
textwrap.rst
2222
unicodedata.rst
2323
stringprep.rst
24+
readline.rst
25+
rlcompleter.rst
2426

Misc/NEWS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ Tools/Demos
5555
Documentation
5656
-------------
5757

58+
- Create a 'Concurrent Execution' section in the docs, and split up the
59+
'Optional Operating System Services' section to use a more user-centric
60+
classification scheme (splitting them across the new CE section, IPC and
61+
text processing). Operating system limitatons can be reflected with
62+
the Sphinx :platform: tag, it doesn't make sense as part of the Table of
63+
Contents.
64+
5865
- Issue #4966: Bring the sequence docs up to date for the Py3k transition
5966
and the many language enhancements since they were original written
6067

0 commit comments

Comments
 (0)