Skip to content

Commit 91bb59c

Browse files
Viicostrask
andauthored
Update process.runtime example for the Python language (#1772)
Co-authored-by: Trask Stalnaker <[email protected]>
1 parent cc780be commit 91bb59c

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

.chloggen/1772.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Use this changelog template to create an entry for release notes.
2+
#
3+
# If your change doesn't affect end users you should instead start
4+
# your pull request title with [chore] or use the "Skip Changelog" label.
5+
6+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
7+
change_type: enhancement
8+
9+
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
10+
component: process
11+
12+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
13+
note: Update `process.runtime` example for the Python language.
14+
15+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
16+
# The values here must be integers.
17+
issues: [1772]
18+
19+
# (Optional) One or more lines of additional information to render under the primary note.
20+
# These lines will be padded with 2 spaces and then inserted directly into the document.
21+
# Use pipe (|) for multiline entries.
22+
subtext:

docs/resource/process.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,10 @@ Examples for some Python runtimes:
249249
| Name | `process.runtime.name` | `process.runtime.version` | `process.runtime.description` |
250250
| --- | --- | --- | --- |
251251
| CPython 3.7.3 on Windows | cpython | 3.7.3 | 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] |
252-
| CPython 3.8.6 on Linux | cpython | 3.8.6 | 3.8.6 (default, Sep 30 2020, 04:00:38) <br>[GCC 10.2.0] |
253-
| PyPy 3 7.3.2 on Linux | pypy | 3.7.4 | 3.7.4 (?, Sep 27 2020, 15:12:26)<br>[PyPy 7.3.2-alpha0 with GCC 10.2.0] |
252+
| CPython 3.13.1 on Linux | cpython | 3.13.1 | 3.13.1 (main, Dec 6 2024, 18:40:43) [Clang 18.1.8 ] |
253+
| PyPy 3 7.3.17 on Linux | pypy | 7.3.17 | 3.10.14 (39dc8d3c85a7, Aug 27 2024, 14:32:27)<br>[PyPy 7.3.17 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] |
254254

255-
Note that on Linux, there is an actual newline in the `sys.version` string,
256-
and the CPython string had a trailing space in the first line.
257-
258-
Pypy provided a CPython-compatible version in `sys.implementation.version` instead of the actual implementation version which is available in `sys.version`.
255+
Note that on CPython GCC/Clang Linux builds (up to and including 3.9) and PyPy, there is an actual newline in the `sys.version` string.
259256

260257
### Ruby Runtimes
261258

0 commit comments

Comments
 (0)