Repository navigation
Add canonical Python 3.15 sampling collector sources - #9366
youknowone merged 1 commit into
Conversation
Copy the remaining live collector package, related canonical tests, and Python logo asset from CPython v3.15.0 through update_lib. Keep source availability distinct from supported live sampling or curses execution. Exclude the child monitor and its tests: introducing that module would activate --subprocesses before native child discovery is implemented. Preserve all upstream resource gates without adding skips or shims. Assisted-by: OpenAI Codex: model version unavailable
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [ ] lib: cpython/Lib/profiling dependencies:
dependent tests: (3 tests)
Legend:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
Complete another coherent slice of the Python 3.15 sampling-profiler source distribution, copied from CPython v3.15.0 (
d220409a13b77de7a6c30abe16ea90db01528edc) throughscripts/update_lib._child_monitor.pyandtest_children.pyout. Adding the monitor would activate the existing--subprocessesroute before native child discovery is supported.This is source availability, not implementation or validation of live sampling, curses UI, subprocess profiling, or remote attachment. Existing canonical resource/capability gates are unchanged. The newly included PNG is available in the source tree; this change does not extend the fixed frozen-resource allowlist.
Validation
lazy import; Ruff 0.16.10 with Python 3.15 target parses all 15 Python files, with its experimental-support warning retained.cargo check --locked --offline --bin rustpython.cargo check --locked --offline --features freeze-stdlib --bin rustpython. This compiles the added Python sources through RustPython without executing module decorators.No profiler module imports or runtime tests were run. In particular, canonical remote-debugging decorators can themselves probe a process or launch a child; these were not executed. No claims are made about the full workspace/C API suites, live functionality, GUI/native backends, or cross-platform runtime behavior.
Part of #8954 decomposition; unrelated open offline-test work remains separate.
AI assistance: OpenAI Codex prepared the extraction, static review, validation orchestration, and PR text. Imported source files remain unchanged CPython code.