Skip to content

Commit 0e4bb8b

Browse files
corneliusroemerAA-Turner
authored andcommitted
Doc: Improve clarity for subinterpreters in What's New in 3.14 (pythonGH-139221)
(cherry picked from commit 25edfa7) Co-authored-by: Cornelius Roemer <[email protected]> Co-authored-by: Adam Turner <[email protected]>
1 parent a893270 commit 0e4bb8b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,17 +217,18 @@ has significant benefits:
217217
* they support a new (to Python), human-friendly concurrency model
218218
* true multi-core parallelism
219219

220-
For some use cases, concurrency in software enables efficiency and
220+
For some use cases, concurrency in software improves efficiency and
221221
can simplify design, at a high level.
222222
At the same time, implementing and maintaining all but the simplest concurrency
223223
is often a struggle for the human brain.
224224
That especially applies to plain threads (for example, :mod:`threading`),
225225
where all memory is shared between all threads.
226226

227227
With multiple isolated interpreters, you can take advantage of a class
228-
of concurrency models, like CSP or the actor model, that have found
228+
of concurrency models, like Communicating Sequential Processes (CSP)
229+
or the actor model, that have found
229230
success in other programming languages, like Smalltalk, Erlang,
230-
Haskell, and Go. Think of multiple interpreters like threads
231+
Haskell, and Go. Think of multiple interpreters as threads
231232
but with opt-in sharing.
232233

233234
Regarding multi-core parallelism: as of Python 3.12, interpreters
@@ -249,8 +250,8 @@ having the isolation of processes with the efficiency of threads.
249250
While the feature has been around for decades, multiple interpreters
250251
have not been used widely, due to low awareness and the lack of a
251252
standard library module. Consequently, they currently have several
252-
notable limitations, which will improve significantly now that the
253-
feature is finally going mainstream.
253+
notable limitations, which are expected to improve significantly now
254+
that the feature is going mainstream.
254255

255256
Current limitations:
256257

0 commit comments

Comments
 (0)