Commit Graph
17936 Commits
Author SHA1 Message Date
Mathieu Dupuy a463449e35 csv: support non-ASCII Unicode dialect characters (#9367)
* scripts: make check_redundant_patches.py executable

The redundant-test-patches pre-commit hook uses `language: script`, which
requires the executable bit, and fails on every commit touching Lib/test.

Assisted-by: Claude:claude-sonnet-5-5

* csv: support non-ASCII Unicode dialect characters

Store delimiter, quotechar and escapechar as `char` instead of `u8`, and
run the reader state machine and the writer over code points, so that a
single non-ASCII character such as `€` is accepted like in CPython. The
field size limit is now counted in characters rather than bytes.

Fixes #8408

Assisted-by: Claude:claude-sonnet-5-5
2026-10-28 01:23:02 +09:00
b25ab5e76b Align XML backend and canonical libraries with Python 3.15 (#9197)
* Align XML parsing and libraries with Python 3.15

Retain the existing XML backend accounting changes and their explicit registry publication limitation. Preserve canonical XML tests and existing RustPython guards, including multiline marker explanations through update_lib.

Assisted-by: OpenAI Codex:model version unavailable

* Retire proven XML guards and sync canonical consumers

Assisted-by: OpenAI Codex:model version unavailable

* Rebase vendored xml onto 1.4.0

Replace the vendored crate sources with the published xml 1.4.0 archive
and reapply the amplification accounting patch on top of it. The two
lexer hunks that conflicted with the new line-ending normalization are
merged into the 1.4.0 read loop. The patch no longer normalizes CR in
entity values or collapses CRLF in attribute values, because the 1.4.0
lexer and attribute reader already do so.

Update the checksums, recorded upstream commit, archive hash and
provenance notes, and require version 1.4 for the path dependency.

Assisted-by: Claude Code:claude-opus-5-5

* Remove stale SAX external resolver expected failure

Linux and macOS canonical CI both demonstrate that the existing
unsupported-scheme resolver test passes. Retire only its expected-failure
decorator through update_lib, preserving its canonical assertions.
This does not implement external DTD parsing.

AI assistance: dot diagnosed CI, migrated the marker, and reviewed the
source delta and normal-hook validation; the model version is not exposed.

Assisted-by: dot: model version not exposed

---------

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
Co-authored-by: youknowdot <336763669+youknowdot@users.noreply.github.com>
2026-10-27 21:02:59 +09:00
1ndahous3 df0d1b74c0 Preserve ctypes py_object provenance across casts and pointer writes (#9391)
* Preserve ctypes py_object provenance across casts and pointer writes

Assisted-by: Codex:GPT-6

* Validate ctypes writer paths across casts and retargeting

Assisted-by: Codex:GPT-6

* Preserve ctypes writer roots and avoid nested storage scans

Assisted-by: Codex:GPT-6

* Register ctypes exporters and cache pointer-field writers

Assisted-by: Codex:GPT-6

* Register overlapping ctypes views and index retained objects

Assisted-by: Codex:GPT-6

* Track shared ctypes buffer owners and cache cast fields

Assisted-by: Codex:GPT-6

* Index ctypes buffer aliases and register pointer exporters

Assisted-by: Codex:GPT-6

* Publish disjoint ctypes byref writes to borrowed sources

Assisted-by: Codex:GPT-6

* Index ctypes write provenance and validate private field paths

Assisted-by: Codex:GPT-6

* Resolve retained ctypes values after pointer retargeting

Assisted-by: Codex:GPT-6
2026-10-27 19:57:38 +09:00
youknowdotandCodex 75df7a8c2e Implement PEP 798 comprehension unpacking (#9342)
* Support PEP 798 comprehension unpacking

Extract the remaining Python 3.15 comprehension unpacking implementation
from the integration branch. Use existing list/set/dict update operations
and an explicit inner iterator loop for generator unpacking. Align the
public DictComp AST representation and schema with CPython.

Migrate test_unpack_ex and test_unparse with scripts/update_lib from
CPython d220409a13b77de7a6c30abe16ea90db01528edc. Preserve existing Rust tests;
add no duplicate regression tests or snippets.

AI-assisted source extraction, canonical migration, and independent source
review with OpenAI Codex. Runtime validation is not yet complete.

Assisted-by: OpenAI Codex:model version unavailable

* Improve selected unpacking diagnostics and refresh canonical exception tests

Normalize six supported comprehension-unpacking diagnostics using existing parser context. Restrict the dictionary-spread hint to its first entry to avoid changing unrelated diagnostics.

Migrate the whole test_exceptions module from CPython d220409a13b77de7a6c30abe16ea90db01528edc with the existing updater, preserving only its two existing RustPython markers. Ruff sources and dependency pins are unchanged.

Six focused check/build/strict Clippy gates passed. A paired 34-input compile-only comparison retains six canonical diagnostic improvements, with eight of fifteen canonical cases still differing; this is not full test_exceptions or CI validation.

* Fix mapping-rest error locations and retire stale encoding xfail

* Match remaining unpacking diagnostics without changing Ruff

Use exact retained AST and error ownership to normalize the remaining CPython 3.15 unpacking diagnostics. Reparse only the owned call argument slice with the unchanged Ruff parser when its original recovery loses generator clauses.

Validated all 30 canonical compile-only cases in exec and doctest-style single modes against CPython 3.15.0, plus finite surrounding controls. Targeted compiler Clippy and source-bound builds passed. Full CI is pending. Cspell alone was omitted with the maintainer’s explicit one-commit approval because its npm bootstrap downloads returned HTTP 403; all other applicable configured commit hooks ran.

AI assistance: dot authored, reviewed, and validated the changes. The runtime does not expose its exact model version.

Assisted-by: dot: model version not exposed

---------

Co-authored-by: Codex <codex@openai.com>
2026-10-27 13:29:59 +09:00
Jeong, YunWon 1df1daea3e Fix Windows runtime compatibility issues (#9406)
Correct socket address handling, untracked mappings, directory enumeration, winsound validation, and executable path discovery. Report the vendored Unicode version independently of the Rust toolchain.

Assisted-by: Codex:GPT-5
2026-10-27 13:28:36 +09:00
dependabot[bot] f5933719b7 build(deps): bump marked from 1.2.9 to 18.1.1 in /wasm/notebook (#9405)
Bumps [marked](https://github.com/markedjs/marked) from 1.2.9 to 18.1.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.9...v18.1.1)

---
updated-dependencies:
- dependency-name: marked
  dependency-version: 18.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 13:27:24 +09:00
dependabot[bot] c509a67f3f build(deps-dev): bump webpack-dev-server in /wasm/notebook (#9404)
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 5.2.7 to 6.1.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.2.7...v6.1.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 6.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 10:09:15 +09:00
dependabot[bot] 1f1a8cbeed build(deps): bump xterm from 3.14.5 to 5.3.0 in /wasm/notebook (#9403)
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 3.14.5 to 5.3.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/3.14.5...5.3.0)

---
updated-dependencies:
- dependency-name: xterm
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 10:08:58 +09:00
dependabot[bot] 278a21754d build(deps): bump katex from 0.12.0 to 0.19.0 in /wasm/notebook (#9402)
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.12.0 to 0.19.0.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.12.0...v0.19.0)

---
updated-dependencies:
- dependency-name: katex
  dependency-version: 0.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 10:08:46 +09:00
1ndahous3 415e472a50 Share ctypes backing-owner snapshots between aggregate copies (#9392)
* Share ctypes backing-owner snapshots between aggregate copies

Assisted-by: Codex:GPT-6

* Limit ctypes snapshot helper to supported targets

Assisted-by: Codex:GPT-6

* Clarify ctypes snapshot allocation helper names

Assisted-by: Codex:GPT-6
2026-10-27 10:08:29 +09:00
1ndahous3 85b34cf52b Fix ctypes subclass bitfields and native type metadata (#9395)
Assisted-by: Codex:GPT-6
2026-10-27 10:07:39 +09:00
Jeong, YunWon 20042568fc Decide tp_new inheritance of static types at type initialization (#9386)
A static type with no tp_new of its own whose base is object now gets
DISALLOW_INSTANTIATION instead of inheriting object's tp_new, following
type_ready_set_new. Such types no longer expose an inherited __new__.

A static type that inherits a non-NULL tp_new from its base must have the
same basicsize as that base; type initialization panics otherwise. Types
flagged HEAPTYPE are exempt, like classes created at runtime.

_IOBase is flagged HEAPTYPE so that it keeps inheriting object's tp_new.
FutureIter, TaskStepMethWrapper, hamt, InstructionSequence and
itertools._grouper get constructors of their own.

Assisted-by: Claude:claude-opus-5-5
Assisted-by: Grok:grok-4.7
2026-10-27 10:07:06 +09:00
dependabot[bot] 6934845753 build(deps-dev): bump raw-loader from 1.0.0 to 4.0.2 in /wasm/example (#9399)
Bumps [raw-loader](https://github.com/webpack-contrib/raw-loader) from 1.0.0 to 4.0.2.
- [Release notes](https://github.com/webpack-contrib/raw-loader/releases)
- [Changelog](https://github.com/webpack-contrib/raw-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/raw-loader/compare/v1.0.0...v4.0.2)

---
updated-dependencies:
- dependency-name: raw-loader
  dependency-version: 4.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 17:55:07 +00:00
dependabot[bot] b2081f0a09 build(deps): bump cc from 1.8.0 to 1.9.0 (#9397)
Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.8.0...cc-v1.9.0)

---
updated-dependencies:
- dependency-name: cc
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 16:38:45 +00:00
dependabot[bot] 26d28cf1dd build(deps-dev): bump webpack from 5.112.0 to 5.112.2 in /wasm/example (#9401)
Bumps [webpack](https://github.com/webpack/webpack) from 5.112.0 to 5.112.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.112.0...v5.112.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.112.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 16:23:23 +00:00
dependabot[bot] c54d6e7463 build(deps-dev): bump webpack from 5.112.0 to 5.112.2 in /wasm/demo (#9398)
Bumps [webpack](https://github.com/webpack/webpack) from 5.112.0 to 5.112.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.112.0...v5.112.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.112.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 00:54:02 +09:00
dependabot[bot] 1f20f58d55 build(deps): bump j178/prek-action from 3.0.1 to 3.0.2 (#9396)
Bumps [j178/prek-action](https://github.com/j178/prek-action) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/j178/prek-action/releases)
- [Commits](https://github.com/j178/prek-action/compare/1382ad72dea72f9d53832f2bcb65b3e87a947204...af4d4fcb6922b8e6f65c0426947125fcc38794ce)

---
updated-dependencies:
- dependency-name: j178/prek-action
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 00:53:24 +09:00
youknowdotandyouknowdot b811715799 Remove one-off partial update_lib migration modes (#9394)
Keep whole-file and package migration with existing marker, doctest and explicit customization preservation. Retire copy-test and selected assignment/function/export import machinery rather than maintaining extra partial-file update paths.

Remove the separate historical-file deletion command after its migration use. This does not delete any Lib files or make whole-directory migration prune destination-only files; future obsolete-file removal still needs explicit review.

Preserve dependency handling and contributor content-comparison fixes. All 103 retained synthetic migration, patch and copy-library tooling tests pass under an isolated bounded host Python harness. No RustPython runtime or migrated Lib source was executed.

Assisted-by: OpenAI Codex:model version unavailable

Co-authored-by: youknowdot <youknowdot@users.noreply.github.com>
2026-10-26 21:07:23 +09:00
dependabot[bot] 60bd8451c2 build(deps): bump codemirror from 5.65.21 to 6.0.2 in /wasm/notebook (#9381)
Bumps [codemirror](https://github.com/codemirror/basic-setup) from 5.65.21 to 6.0.2.
- [Changelog](https://github.com/codemirror/basic-setup/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/basic-setup/commits/6.0.2)

---
updated-dependencies:
- dependency-name: codemirror
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 20:47:36 +09:00
1ndahous3 248f334844 Compare update_lib contents and benchmark CPython parsing consistently (#9393)
Assisted-by: Codex:GPT-6
2026-10-26 20:44:12 +09:00
1ndahous3 cdb39399bd Fix ctypes scalar access, bitfields, and cyclic collection (#9390)
* Fix ctypes scalar access, bitfields, and cyclic collection

Assisted-by: Codex:GPT-6

* Format ctypes pyclass attributes

Assisted-by: Codex:GPT-6
2026-10-26 20:39:14 +09:00
Jeong, YunWon 9848c78bd5 Index the class body prefix range by the source text line (#9384)
compile_class_body passed firstlineno to source_line_start_range. When
the AST carries an AstLocations table, firstlineno comes from the table,
while source_line_start_range indexes the source text. A table line past
the end of the text panicked in ruff_source_file's line index.

compile_class_def now also computes the text line that the first-line
span starts on and passes it to compile_class_body for the range. The
location still uses firstlineno. Without a location table the two are
the same line.

Assisted-by: Claude
2026-10-26 20:35:48 +09:00
dependabot[bot] 2db33dc60f build(deps-dev): bump webpack-cli from 6.0.1 to 7.2.3 in /wasm/notebook (#9380)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 6.0.1 to 7.2.3.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@6.0.1...webpack-cli@7.2.3)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-version: 7.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 20:35:22 +09:00
dependabot[bot] 9452989255 build(deps-dev): bump webpack-cli from 3.3.12 to 7.2.3 in /wasm/example (#9379)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.12 to 7.2.3.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.12...webpack-cli@7.2.3)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-version: 7.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 20:33:51 +09:00
dependabot[bot] 30b8239d1b build(deps-dev): bump webpack from 5.104.1 to 5.112.0 in /wasm/example (#9378)
Bumps [webpack](https://github.com/webpack/webpack) from 5.104.1 to 5.112.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.104.1...v5.112.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.112.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 14:26:21 +09:00
dependabot[bot] b49c0dc5a8 build(deps-dev): bump html-webpack-plugin in /wasm/demo (#9377)
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.6.3 to 5.6.8.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.6.3...v5.6.8)

---
updated-dependencies:
- dependency-name: html-webpack-plugin
  dependency-version: 5.6.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 14:26:02 +09:00
dependabot[bot] f3c443a621 build(deps): bump @xterm/xterm from 5.5.0 to 6.0.0 in /wasm/demo (#9376)
Bumps [@xterm/xterm](https://github.com/xtermjs/xterm.js) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/5.5.0...6.0.0)

---
updated-dependencies:
- dependency-name: "@xterm/xterm"
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 14:16:04 +09:00
youknowdot 1052e613ed Preserve interpreter-boundary diagnostics and syslog restrictions (#9365)
* Preserve Unicode in thread unraisable messages

Keep the callable representation as WTF-8 for unraisable hooks and audit callbacks. Preserve the existing String entry point and stderr fallback; this does not claim lossless stderr rendering.

Assisted-by: OpenAI Codex:model unavailable

* Use the WTF-8 string conversion constructor

Use the existing From<&str> implementation to copy the message prefix without changing Unicode semantics.

Assisted-by: OpenAI Codex:model unavailable

* Preserve cross-interpreter marshal error causes

Wrap failures from existing code/function serialization helpers as NotShareableError, matching the CPython 3.15 marshal boundary while retaining the original exception cause. No new test C API or lifecycle behavior.

Assisted-by: OpenAI Codex:model-unavailable

* Enforce syslog interpreter boundaries and sync queue cleanup

Reject subinterpreter openlog/closelog before audit or host mutation, and
reject implicit syslog opening after audit when the process logger is not
already open, matching CPython 3.15 guard placement and error text.
Already-open logging and setlogmask remain unchanged.

Migrate concurrent/interpreters/_queues.py through scripts/update_lib to
CPython d220409a13b77de7a6c30abe16ea90db01528edc, removing unused eager
pickle import and exception targets. Native serialization imports pickle
on demand; module import timing and debug locals may nevertheless differ.

No new fixtures or interpreter lifecycle mechanisms are introduced.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-26 14:15:38 +09:00
dependabot[bot] a90f7b9b9b build(deps-dev): bump webpack from 5.105.0 to 5.112.0 in /wasm/demo (#9375)
Bumps [webpack](https://github.com/webpack/webpack) from 5.105.0 to 5.112.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.105.0...v5.112.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.112.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 14:14:45 +09:00
youknowdotandCodex 084f5c7e7a Add native offline profiler codec invariant coverage (#9383)
Extract the unchanged Reader::open decode body into a private owned-buffer
parse helper and add native representation tests for varints, stack depth,
RLE count bounds, and repeated empty records. Preserve all existing tests.

This adds coverage, not a new production decoder fix. Test code passes
cargo check --tests and strict Clippy --tests, but has not been executed.
OpenAI Codex assisted extraction, review, and compile-only validation.

Assisted-by: OpenAI Codex:model version unavailable

Co-authored-by: Codex <codex@openai.com>
2026-10-26 14:14:10 +09:00
youknowdot 9f288b9f5a Enable rustyline read-ahead buffer preservation (#9382)
Enable buffer-redux on the workspace rustyline dependency and add its
locked buffer-redux 1.1.0 dependency. Keep existing dependency versions
and checksums, including nix, libc and rustix, unchanged.

RustPython retains a rustyline Editor across interactive prompts. On
Unix, this feature lets a successful readline submission save unread
buffered input for the next read instead of dropping the old reader's
buffer. This is based on the source call chain, not a runtime reproduction.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-26 14:13:46 +09:00
dependabot[bot] d8ef886673 build(deps-dev): bump webpack-cli from 6.0.1 to 7.2.3 in /wasm/demo (#9374)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 6.0.1 to 7.2.3.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@6.0.1...webpack-cli@7.2.3)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-version: 7.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 14:12:06 +09:00
dependabot[bot] 9c2390a6e6 build(deps): bump codemirror from 6.0.1 to 6.0.2 in /wasm/demo (#9373)
Bumps [codemirror](https://github.com/codemirror/basic-setup) from 6.0.1 to 6.0.2.
- [Changelog](https://github.com/codemirror/basic-setup/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/basic-setup/compare/6.0.1...6.0.2)

---
updated-dependencies:
- dependency-name: codemirror
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-26 14:11:59 +09:00
Lee DogeonandClaude 76b3b0027c Cut redundant CI work (#9371)
* Document only workspace crates in the cargo doc job

cargo doc ran rustdoc on every dependency as well; in run #91 that was
284 documented crates for a check of this workspace's own docs.

Assisted-by: Claude Code
Claude-Session: https://claude.ai/code/session_01JpHqXiC3mDShqfsPxvr9ey

* Share one target directory between the example projects

Each example project is its own workspace and built into its own target
directory, so the second build recompiled the dependencies the first had
just built. Of the 359 units the frozen_stdlib build needs, 261 are
identical to units of the barebone build.

Assisted-by: Claude Code
Claude-Session: https://claude.ai/code/session_01JpHqXiC3mDShqfsPxvr9ey

* Check both macOS cross targets on one runner

macOS runners have the smallest concurrent-job limit of the hosted
runners. The aarch64-apple-ios and x86_64-apple-darwin checks now run in
one job, with one cargo invocation per feature set that passes both
targets, so they also share the host-side build scripts and proc macros.
The matrix entry lists the targets separated by a space, because the
target is part of the cache key and actions/cache rejects commas.

This renames the two "cargo check (macos-latest, ...)" checks to one.

Assisted-by: Claude Code
Claude-Session: https://claude.ai/code/session_01JpHqXiC3mDShqfsPxvr9ey

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-26 10:45:13 +09:00
youknowdot 9710aa5162 Test native IR invariants and harden append-fold helper contract (#9370)
Retain direct IR coverage for constant-pool representations, malformed
append-sequence rejection, and vacated instruction-slot metadata reuse.
Reject non-unit terminal append depths at the private folding helper.
Existing production callers already require depth one; this is defensive
contract hardening, not a newly fixed reachable interpreter bug.

Preserve the existing helper structure and all pre-existing tests. The
three added native tests are unchanged from the Python 3.15 upgrade work.

Validation: codegen check and strict Clippy with --tests, a --lib --no-run
build, and exactly three bounded native IR tests (one pass, zero ignored
each). No Python, parser, VM or lifecycle payload was executed. The
symmetric SetAdd guard has no dedicated depth-two assertion.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-26 10:12:48 +09:00
youknowdotandCodex 557995b3e5 Sync canonical gated test sources and Lib metadata (#9369)
Assisted-by: OpenAI Codex: model version unavailable

Co-authored-by: Codex <codex@openai.com>
2026-10-26 10:12:14 +09:00
youknowdot dca9dfdf38 Add canonical Python 3.15 optional native integration sources (#9368)
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
2026-10-26 10:10:47 +09:00
youknowdot 163b8c557c Add canonical Python 3.15 sampling collector sources (#9366)
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
2026-10-26 10:09:16 +09:00
youknowdot 1170a337cc refactor: share PyTime conversions with time.sleep (#9362)
Move the existing conversion helper into the production time module and reuse it from sleep, preserving conversion bodies and internal C-API argument binding.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-26 10:07:47 +09:00
youknowdot 0dca682e45 Update Python 3.15 test harness helpers and discovery (#9364)
Assisted-by: OpenAI Codex: model version unavailable
2026-10-25 15:14:33 +00:00
dependabot[bot] edda30d2db build(deps): bump @codemirror/lang-python in /wasm/demo (#9356)
Bumps [@codemirror/lang-python](https://github.com/codemirror/lang-python) from 6.1.7 to 6.2.1.
- [Changelog](https://github.com/codemirror/lang-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-python/compare/6.1.7...6.2.1)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-python"
  dependency-version: 6.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 14:33:11 +00:00
youknowdot d1c3cb745a Add canonical offline sampling profiler tests (#9360)
Import test_async.py and test_profiler.py with scripts/update_lib migrate
from CPython 3.15.0 at d220409a13b77de7a6c30abe16ea90db01528edc.

Validate the 37 existing offline async graph and statistics-rendering
tests without changing canonical assertions or markers.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-25 21:30:50 +09:00
Lee Dogeon 0f74d1cd14 ci: remove OSCCA pull request triage workflow (#9361)
Stop automatically labeling OSCCA participants' pull requests with
z-ca-2026 and assigning them, and drop the matching zizmor ignore entry.

Assisted-by: Claude Code:claude-opus-5-5
2026-10-25 19:29:20 +09:00
youknowdot 901eb883a7 Add canonical sampling profiler CLI for offline replay (#9358)
Import the CLI, entry point, error type, coordinator dependency, and CLI
tests with scripts/update_lib migrate from CPython 3.15.0 at
d220409a13b77de7a6c30abe16ea90db01528edc.

This frontend follows the existing offline collector/codec support. Live
attach, run, and dump remain unsupported and unvalidated.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-25 10:16:32 +00:00
dependabot[bot] 901c0146cc build(deps-dev): bump css-loader from 7.1.2 to 7.1.5 in /wasm/demo (#9355)
Bumps [css-loader](https://github.com/webpack/css-loader) from 7.1.2 to 7.1.5.
- [Release notes](https://github.com/webpack/css-loader/releases)
- [Changelog](https://github.com/webpack/css-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/css-loader/compare/v7.1.2...v7.1.5)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-version: 7.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 10:14:25 +00:00
dependabot[bot] 636a9679db build(deps-dev): bump mini-css-extract-plugin in /wasm/demo (#9353)
Bumps [mini-css-extract-plugin](https://github.com/webpack/mini-css-extract-plugin) from 2.9.2 to 2.10.2.
- [Release notes](https://github.com/webpack/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack/mini-css-extract-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/mini-css-extract-plugin/compare/v2.9.2...v2.10.2)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-version: 2.10.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 10:09:00 +00:00
dependabot[bot] bb08d9acfc build(deps): bump xterm-readline from 1.1.2 to 1.3.1 in /wasm/demo (#9354)
Bumps [xterm-readline](https://github.com/strtok/xterm-readline) from 1.1.2 to 1.3.1.
- [Changelog](https://github.com/strtok/xterm-readline/blob/main/CHANGELOG.md)
- [Commits](https://github.com/strtok/xterm-readline/commits/v1.3.1)

---
updated-dependencies:
- dependency-name: xterm-readline
  dependency-version: 1.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 10:03:09 +00:00
dependabot[bot] b7bebe638c build(deps): bump object from 0.37.3 to 0.40.0 (#9351)
Bumps [object](https://github.com/gimli-rs/object) from 0.37.3 to 0.40.0.
- [Changelog](https://github.com/gimli-rs/object/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gimli-rs/object/compare/0.37.3...v0.40.0)

---
updated-dependencies:
- dependency-name: object
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 09:50:23 +00:00
dependabot[bot] cb92931f9f build(deps): bump @xterm/addon-fit from 0.10.0 to 0.11.0 in /wasm/demo (#9352)
Bumps [@xterm/addon-fit](https://github.com/xtermjs/xterm.js) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.10...0.11)

---
updated-dependencies:
- dependency-name: "@xterm/addon-fit"
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 09:42:18 +00:00
dependabot[bot] 0cb9f136e5 build(deps): bump memmap2 from 0.9.11 to 0.9.12 (#9350)
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs) from 0.9.11 to 0.9.12.
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.9.11...v0.9.12)

---
updated-dependencies:
- dependency-name: memmap2
  dependency-version: 0.9.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 09:26:47 +00:00