Repository navigation
Add canonical Python 3.15 optional native integration sources - #9368
youknowone merged 1 commit into
Conversation
Copy curses frontend sources and canonical curses, DBM, Tcl and DTrace integration tests from CPython v3.15.0 through update_lib. Preserve upstream optional-native/resource/configuration gates and canonical file modes, without adding native implementations or custom skips. Validate source identity, hooks and default/frozen compile-only checks. Native runtime integration and probe execution remain unvalidated. 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: [x] lib: cpython/Lib/dbm dependencies:
dependent tests: (5 tests)
[x] lib: cpython/Lib/tkinter dependencies:
dependent tests: (7 tests)
[x] lib: cpython/Lib/curses dependencies:
dependent tests: (3 tests)
[ ] lib: cpython/Lib/profiling dependencies:
dependent tests: (3 tests)
[x] test: cpython/Lib/test/test_dtrace.py dependencies: dependent tests: (no tests depend on dtrace) 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
Extract a coherent optional-native integration source/test slice from #8954 using final CPython v3.15.0 (
d220409a13b77de7a6c30abe16ea90db01528edc) andscripts/update_lib.This distributes source; it does not implement or validate native curses/DBM functionality, enable the optional tkinter Cargo feature, or validate tracing probes. The current bundled runtime still cannot import curses without
_curses; DBM production backend selection is unchanged. Module discoverability and import-error details can change with newly present source files, and customized embeddings with supplied native modules are not claimed unchanged.Validation
cargo check --locked --offline --bin rustpythonpassed.cargo check --locked --offline --features freeze-stdlib --bin rustpythonpassed; this compiles Python source into bytecode without executing module decorators.tkinter; canonical native-import gates still apply even with-u all. The builtin sysconfig data does not enableWITH_DTRACE, so its canonical early gate precedes backend/probe setup. The interactivecurses_tests.pyhelper is outsidetest_discovery.No project module imports, runtime tests, terminal operations, native database/Tcl operations, or DTrace/SystemTap/BPFTrace probes were executed locally. Full workspace/C API and cross-platform native-runtime suites remain unrun; compile checks are not native feature validation.
AI assistance: OpenAI Codex prepared this extraction, performed static reviews, and ran the recorded compile-only checks and hooks. Model version was unavailable.