8000 gh-134939: Fill Out the concurrent.interpreters Docs by ericsnowcurrently · Pull Request #135902 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-134939: Fill Out the concurrent.interpreters Docs #135902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ericsnowcurrently
Copy link
Member
@ericsnowcurrently ericsnowcurrently commented Jun 24, 2025

Copy link
@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if the double spaces were intended or not. so suggested some edits....

@StanFromIreland
Copy link
Member

@auvipy I presume Eric is using emacs, the double spaces are fine and conform to many technical writing style guides IIRC. You will find many occurrences throughout out the docs.

@auvipy
Copy link
auvipy commented Jun 25, 2025

Interesting! Didn’t know that to be honest

@ericsnowcurrently
Copy link
Member Author

Using double space between sentences is fairly standard. Traditionally the practice was meant to introduce a stronger visual separation between sentences, to help readers identify the boundary. Using a single space is a relatively recent practice, one that reflects an assumption that the software which renders (lays out) the text, like a browser, will render the inter-sentence boundary sufficiently distinctly. However, in my experience that isn't what actually happens most of the time. (Plus, the same software could just as easily detect the double space and render it how it likes.) Furthermore, text editors in particular don't necessarily follow this practice. For example, I use a fixed-width font in my terminal. Ultimately, any time the the text is rendered naively this way, it presents a readability challenge. Thus, I avoid using a single space between sentences.

@StanFromIreland
Copy link
Member

Traditionally

Very, historically started when type writers where introduced :-)

Comment on lines +21 to +22
Running mostly involves switching to an interpreter (in the current
thread) and calling a function in that execution context.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like a reference to the "Runtime Components" section after #135944 is landed, regarding the OS thread?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Places like these are a large part of why I opened that issue. 😄

* :class:`float`
* :class:`tuple` (of similarly supported objects)

There is a small number of Python types that actually share mutable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
There is a small number of Python types that actually share mutable
There are a small number of Python types that actually share mutable

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The subject of the verb is "a small number", which is singular. Otherwise, I'd agree that "There are Python types that..." would be correct.

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
@ericsnowcurrently
Copy link
Member Author

Unless there are any major objections, I'd like to land this today;, I have a "multiple interpreters HOWTO" branch, on top of this change, that I want to put up for review. If there are little things to tweak, I think we can take care of that in a follow-up PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review docs Documentation in the Doc dir needs backport to 3.14 bugs and security fixes skip news
< 4ED4 div class="discussion-sidebar-item js-discussion-sidebar-item js-socket-channel js-updatable-content" data-channel="eyJjIjoicHVsbF9yZXF1ZXN0OjI2MTYwNDcxMDMiLCJ0IjoxNzUxMTIxNTM4fQ==--e76d6c95c057177b4676803261016fbbc98d79b41de8e10d82bfcc32146a5c6e" data-gid="PR_kwDOBN0Z8c6b7bX_" data-url="/python/cpython/issues/135902/show_partial?partial=issues%2Fsidebar%2Fshow%2Fprojects" data-channel-event-name="projects_updated" >
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

4 participants
0