Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-139588: Docs: number the layers in execution model diagram#140445

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
m-aciek wants to merge1 commit intopython:mainfromm-aciek:patch-1
Closed
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletionsDoc/reference/executionmodel.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -412,9 +412,9 @@ its operating system (OS), if there is one. When a program runs,
the conceptual layers of how it runs on the host look something
like this:

| **host machine**
| **process** (global resources)
| **thread** (runs machine code)
|1.**host machine**
|2. **process** (global resources)
|3. **thread** (runs machine code)

Each process represents a program running on the host. Think of each
process itself as the data part of its program. Think of the process'
Expand DownExpand Up@@ -471,12 +471,12 @@ Python Runtime Model
The same conceptual layers apply to each Python program, with some
extra data layers specific to Python:

| **host machine**
| **process** (global resources)
| Python global runtime (*state*)
| Python interpreter (*state*)
| **thread** (runs Python bytecode and "C-API")
| Python thread *state*
|1.**host machine**
|2. **process** (global resources)
|3. Python global runtime (*state*)
|4. Python interpreter (*state*)
|5. **thread** (runs Python bytecode and "C-API")
|6. Python thread *state*

At the conceptual level: when a Python program starts, it looks exactly
like that diagram, with one of each. The runtime may grow to include
Expand Down
Loading

[8]ページ先頭

©2009-2026 Movatter.jp