Skip to content

Commit 48a0ff1

Browse files
Doc: Improve clarity in whatsnew/3.14.rst multiple interpreters section
- Change "enables efficiency" to "improves efficiency" - Expand "CSP" to "Communicating Sequential Processes" - Use "are expected to improve" for future tense consistency - Add "new" for clarity in library development expectations
1 parent a756a4b commit 48a0ff1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,17 @@ is worth considering:
170170
* they support a new (to Python), human-friendly concurrency model
171171
* true multi-core parallelism
172172

173-
For some use cases, concurrency in software enables efficiency and
174-
can simplify software, at a high level. At the same time, implementing
173+
For some use cases, concurrency in software improves efficiency and
174+
can simplify software at a high level. At the same time, implementing
175175
and maintaining all but the simplest concurrency is often a struggle
176176
for the human brain. That especially applies to plain threads
177177
(for example, :mod:`threading`), where all memory is shared between all threads.
178178

179179
With multiple isolated interpreters, you can take advantage of a class
180-
of concurrency models, like CSP or the actor model, that have found
180+
of concurrency models, like Communicating Sequential Processes
181+
or the actor model, that have found
181182
success in other programming languages, like Smalltalk, Erlang,
182-
Haskell, and Go. Think of multiple interpreters like threads
183+
Haskell, and Go. Think of multiple interpreters as threads
183184
but with opt-in sharing.
184185

185186
Regarding multi-core parallelism: as of the 3.12 release, interpreters
@@ -201,7 +202,7 @@ having the isolation of processes with the efficiency of threads.
201202
While the feature has been around for decades, multiple interpreters
202203
have not been used widely, due to low awareness and the lack of a stdlib
203204
module. Consequently, they currently have several notable limitations,
204-
which will improve significantly now that the feature is finally
205+
which are expected to improve significantly now that the feature is
205206
going mainstream.
206207

207208
Current limitations:
@@ -227,7 +228,7 @@ and provide utilities that are less appropriate on PyPI. In the
227228
meantime, most of the limitations can also be addressed through
228229
extension modules, meaning PyPI packages can fill any gap for 3.14, and
229230
even back to 3.12 where interpreters were finally properly isolated and
230-
stopped sharing the :term:`GIL`. Likewise, we expect to slowly see
231+
stopped sharing the :term:`GIL`. Likewise, we expect to slowly see new
231232
libraries on PyPI for high-level abstractions on top of interpreters.
232233

233234
Regarding extension modules, work is in progress to update some PyPI

0 commit comments

Comments
 (0)