Commit Graph
17789 Commits
Author SHA1 Message Date
dependabot[bot] ce2ef3317f build(deps): bump winresource from 0.1.31 to 0.1.34 (#9249)
Bumps [winresource](https://github.com/BenjaminRi/winresource) from 0.1.31 to 0.1.34.
- [Commits](https://github.com/BenjaminRi/winresource/commits)

---
updated-dependencies:
- dependency-name: winresource
  dependency-version: 0.1.34
  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-21 00:19:43 +09:00
youknowdot bb97696c9c Include name and path in ImportError repr (#9247)
Extract the independent Python 3.15 ImportError representation change from the upgrade work. Preserve BaseException positional arguments and include explicitly present name/path attributes for ImportError and ModuleNotFoundError.

AI assistance: OpenAI Codex prepared the extraction and validation. Model version is not exposed in this session.

Assisted-by: Codex:unknown (model version not exposed)
2026-10-20 23:50:19 +09:00
1ndahous3 ebb6a78521 Preserve reflected multiplication for sequence subclasses (#9228)
Assisted-by: Codex:GPT-6
2026-10-20 22:40:26 +09:00
dependabot[bot] b4a1ad232f build(deps): bump https://github.com/rbubley/mirrors-prettier (#9226)
Bumps [https://github.com/rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) from v3.9.9 to 3.9.10.
- [Commits](https://github.com/rbubley/mirrors-prettier/compare/v3.9.9...v3.9.10)

---
updated-dependencies:
- dependency-name: https://github.com/rbubley/mirrors-prettier
  dependency-version: 3.9.10
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 20:10:39 +09:00
Jeong, YunWon cdb5cca177 Use the Ruff fork 0.17.1 for CPython syntax error messages and the obsolete '<>' hint (#9212)
* Use the RustPython Ruff fork 0.17.1 from git and place EOF errors by kind

- The ruff crates come from the RustPython/ruff `rustpython-0.17.1`
  branch at 93967836c8 instead of the 0.16.10 crates.io release.
- `EofToken.known_location` is replaced by `EofErrorLocation`
  (Tokenizer, Token, StartingFromToken), chosen from the parse error kind.
  The keyword scan in `clause_keyword` is removed, since the parser now
  reports a forced `:` as `ExpectedForcedToken`.
- An empty import at EOF ends at the end of the line read, and an empty
  import before a newline is an empty range at the newline.

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

* Report the obsolete `<>` from the parser outside Barry mode

- Bump the RustPython/ruff fork to 9290a88495, where the parser reports an
  adjacent `<` and `>` in a comparison as "invalid syntax.  Maybe you meant
  '!=' instead of '<>'?" over both tokens.
- Outside Barry mode, `BarrySource` no longer searches the source text for
  `<>`, so the parser's error is reported unchanged. A `<>` that starts a
  statement is reported at the `<` only, and `<<>` at the `>`.

Assisted-by: Claude Code:claude-opus-5-5
2026-10-20 20:09:30 +09:00
youknowdotandJeong YunWon 70c3f6c06d Align signal wakeup errors and delivery with Python 3.15 (#9199)
* Align signal wakeup error handling with Python 3.15

Assisted-by: OpenAI Codex:model version unavailable

* Preserve CRT error state during signal wakeup writes

Assisted-by: OpenAI Codex:model version unavailable

* Represent nullable Windows CRT parameter handlers safely

Assisted-by: OpenAI Codex:model version unavailable

* Rework signal wakeup error delivery to follow signalmodule.c

- Report pending wakeup write/send errors after Python signal handlers
  and VM pending calls, and re-arm the eval breaker when a handler or
  pending call raises.
- Save and restore errno once in run_signal around trip_signal instead
  of inside each write path; stop preserving _doserrno.
- Add crt_fd::write_noraise and use it for the Unix and Windows wakeup
  writes, sharing the single-write helper with _write.
- Keep pending wakeup errors across fork.
- Revert the suppress_iph handler type change and the unrelated quote
  change in test_signal.

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

* Represent nullable Windows CRT parameter handlers as Option

_set_thread_local_invalid_parameter_handler takes and returns a nullable
function pointer; declare it as Option<InvalidParamHandler> so a NULL
previous handler is restored as None.

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

---------

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2026-10-20 20:08:49 +09:00
youknowdot 145749e580 Keep regression collector tracebacks plain in JSON (#9245)
Normalize inherited exception formatting once so structured results and terminal details share uncolored traceback strings, even when colors are forced. Add synthetic ordinary and subtest failure/error coverage without changing existing assertions.

Implementation and focused validation were AI-assisted with OpenAI Codex.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-20 20:06:23 +09:00
1ndahous3 89bc9d99d9 Exclude setup cleanup from microbenchmark measurements (#9244)
Assisted-by: Codex:GPT-6
2026-10-20 19:57:06 +09:00
Jeongseop Lim d634f2649c Check enumerate() arguments before calling iter() (#9241)
EnumerateArgs bound the iterable as PyIter, so argument binding called
__iter__ before start was converted and before surplus positional
arguments were rejected. An exception from __iter__ then replaced the
TypeError CPython raises for a bad start or a third argument.

Bind the iterable as an object and call get_iter() in py_new, after
start is converted, which is the order of CPython's enum_new_impl.

Assisted-by: Claude Code:claude-opus-5-5
2026-10-20 19:55:56 +09:00
dependabot[bot] 5de0425b21 build(deps): bump rustls-native-certs from 0.8.4 to 0.8.5 (#9239)
Bumps [rustls-native-certs](https://github.com/rustls/rustls-native-certs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/rustls/rustls-native-certs/releases)
- [Commits](https://github.com/rustls/rustls-native-certs/compare/v/0.8.4...v/0.8.5)

---
updated-dependencies:
- dependency-name: rustls-native-certs
  dependency-version: 0.8.5
  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-20 19:53:35 +09:00
dependabot[bot] f396174f7a build(deps): bump junction from 2.0.0 to 2.1.0 (#9238)
Bumps [junction](https://github.com/tesuji/junction) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/tesuji/junction/releases)
- [Changelog](https://github.com/tesuji/junction/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tesuji/junction/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: junction
  dependency-version: 2.1.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-20 19:53:18 +09:00
1ndahous3 0c5fa209a8 Support Linux Bluetooth socket addresses (#9243)
Assisted-by: Codex:GPT-6
2026-10-20 19:52:57 +09:00
Jeongseop Lim 0c5e5f68ee Use compensated summation in sum() like CPython (#9237)
CPython keeps a Neumaier compensation term while sum() accumulates an
exact float or complex, and reaches that path from an exact int start
too. RustPython added items one by one, so sum([0.1] * 10) returned
0.9999999999999999 instead of 1.0.

Port the int, float and complex fast paths of builtin_sum_impl, each
falling back to plain addition at the first item it does not handle.

Assisted-by: Claude Code:claude-opus-5-5
2026-10-20 19:52:27 +09:00
1ndahous3 980edd8b57 Preserve ctypes element views and their references (#9229)
* Preserve ctypes element views and their references

Assisted-by: Codex:GPT-6

* Fix ctypes reentrant ownership and scalar view handling

Assisted-by: Codex:GPT-6

* Fix ctypes pointer view writes and indexed object lookup

Assisted-by: Codex:GPT-6

* Fix ctypes field byte order and encoded instance copies

Assisted-by: Codex:GPT-6

* Fix ctypes effective field types and overlapping pointer copies

Assisted-by: Codex:GPT-6

* Reject arrays for incomplete ctypes pointer fields

Assisted-by: Codex:GPT-6
2026-10-20 09:37:33 +00:00
youknowdot c3b8ce79c8 Preserve regression collector outcomes and canonical process context (#9234)
* Preserve regression collector outcomes and canonical process context

Record complete test identities, subtest diagnostics and fixture outcomes while keeping unittest event counts separate from once-per-case JSON totals. Reuse canonical process setup and avoid an unnecessary library-path override.

Assisted-by: OpenAI Codex: model version unavailable

* Fix regression runner subtest formatting and qualified discovery

Assisted-by: OpenAI Codex: model version unavailable

* Make runner traceback assertions independent of forced colors

Assisted-by: OpenAI Codex: model version unavailable

* Keep dev VM frames compact for stdlib imports

Carry the established integration VM optimization override into the regression runner split. Retain debug assertions, stack guards and Python recursion limits.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-20 18:07:54 +09:00
dependabot[bot] 398dd70559 build(deps): bump reviewdog/action-suggester from 1.26.1 to 1.26.2 (#9220)
Bumps [reviewdog/action-suggester](https://github.com/reviewdog/action-suggester) from 1.26.1 to 1.26.2.
- [Release notes](https://github.com/reviewdog/action-suggester/releases)
- [Commits](https://github.com/reviewdog/action-suggester/compare/c387862ad6765a9729f2b40ee4d8b5769f2145c7...8219e3d2e54a63ddecf1318659aa541bd1fa7202)

---
updated-dependencies:
- dependency-name: reviewdog/action-suggester
  dependency-version: 1.26.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-20 09:30:52 +09:00
youknowdot 1be1628666 Report fatal explicit-home startup failures (#9227)
* Report fatal explicit-home encodings initialization failures

Retain explicit standard-library initialization errors for the command-line host, preserving default embedding fallback and the original exception cause.

Assisted-by: OpenAI Codex: model version unavailable

* Enable canonical fatal startup path configuration coverage

Retire the verified expected failure through update_lib, preserving the explicit local path-environment adaptation and all other markers.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-20 09:27:23 +09:00
dependabot[bot] b653c02741 build(deps): bump insta from 1.48.0 to 1.49.0 (#9224)
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.48.0 to 1.49.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.48.0...1.49.0)

---
updated-dependencies:
- dependency-name: insta
  dependency-version: 1.49.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-20 09:26:19 +09:00
Bas Schoenmaeckers 5a051f9442 Implement basic PyUnicodeWriter (#9216)
* Implement basic `PyUnicodeWriter`

* Add tests

* Review

* Allow surrogate codepoints in PyUnicodeWriter_WriteChar

* use try_reserve
2026-10-20 09:25:46 +09:00
1ndahous3 c02584368a Avoid temporary big integers for small getrandbits calls (#9233)
Assisted-by: Codex:GPT-6
2026-10-20 09:25:00 +09:00
1ndahous3 a16dc33b48 Preserve loop stack state for monitored line jumps (#9232)
Assisted-by: Codex:GPT-6
2026-10-20 09:24:27 +09:00
1ndahous3 0d46e8a40f Preserve loop LINE events with INSTRUCTION monitoring (#9231)
Assisted-by: Codex:GPT-6
2026-10-20 09:24:01 +09:00
1ndahous3 915a390725 Release BytesIO and StringIO buffers on close (#9230)
Assisted-by: Codex:GPT-6
2026-10-20 09:23:24 +09:00
dependabot[bot] a07e053bd2 build(deps): bump thin-vec from 0.2.20 to 0.2.21 (#9223)
Bumps [thin-vec](https://github.com/mozilla/thin-vec) from 0.2.20 to 0.2.21.
- [Changelog](https://github.com/mozilla/thin-vec/blob/main/RELEASES.md)
- [Commits](https://github.com/mozilla/thin-vec/compare/v0.2.20...v0.2.21)

---
updated-dependencies:
- dependency-name: thin-vec
  dependency-version: 0.2.21
  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-20 09:22:46 +09:00
codspeed[bot]andCodSpeed Bot 0edae7ca02 Pin the hash seed in the execution benchmark harness (#9235)
Co-authored-by: CodSpeed Bot <no-reply@codspeed.io>
2026-10-20 09:22:14 +09:00
dependabot[bot] d495f1949b build(deps): bump actions/setup-node from 7.0.0 to 7.1.0 (#9221)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/820762786026740c76f36085b0efc47a31fe5020...949feb2413d6458794dcd2491c4babbbce0c15c1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.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-20 09:21:25 +09:00
dependabot[bot] 2e35f4f2d6 build(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 (#9219)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.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-20 09:21:13 +09:00
Bas Schoenmaeckers c08375baeb Implement PyType_FromSpec & PyType_FromMetaclass (#9213)
* Implement `PyType_FromSpec` & `PyType_FromMetaclass`

* Review
2026-10-19 16:45:53 +00:00
1ndahous3andJeong, YunWon eb2ffc61dd Use sequence repetition for ctypes array types (#9185)
Assisted-by: Codex:GPT-6

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2026-10-19 15:17:53 +00:00
youknowdot 58b54c4f40 Update ten storage and developer-tool modules to Python 3.15 (#9209)
* Update storage and developer-tool libraries to Python 3.15

Migrate eight behavioral modules and two related production cleanups with whole canonical suites, preserving the existing dynamic Windows DBM guard through the updater.

Assisted-by: OpenAI Codex:model version unavailable

* Preserve the import required by the existing DBM platform guard

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 22:12:12 +09:00
youknowdot 073136a5ee Simplify library updates with explicit generic source blocks (#9214)
* Use explicit source blocks instead of module-specific updater adapters

Preserve reviewed local fragments through the existing target-bound migration metadata. Remove dedicated module rules, flags and test scaffolding while retaining generic marker and doctest handling.

Assisted-by: OpenAI Codex: model version unavailable

* Generalize selected assignment migration beyond test support

Use generic assignment/export flags and an explicit Lib Python target with existing source/destination hash checks. Retain the existing dependency-checked operation without module-specific aliases.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-19 21:41:17 +09:00
youknowdot 5235a893be Update asyncio libraries and ftplib cleanup to Python 3.15 (#9211)
Copy nine behavioral asyncio modules and the independent ftplib unused-assignment cleanup from CPython d220409a13b77de7a6c30abe16ea90db01528edc. Migrate their whole canonical suites with existing RustPython guards preserved.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:34:29 +09:00
youknowdot 7f5cc0e35c Align import, numeric and warning edge cases with Python 3.15 (#9210)
* Align import, numeric and warning edge cases with Python 3.15

Carry four independent compatibility fixes from the 3.15 upgrade: preserve import cache lookup errors, handle surrogate module names, qualify numeric conversion diagnostics, and accept frozen warning globals. Match pinned CPython d220409a13b77de7a6c30abe16ea90db01528edc.

Assisted-by: OpenAI Codex:model version unavailable

* Preserve the integer contract of builtin module detection

Return -1 for the separately initialized sys/builtins core modules, 1 for registered definitions and 0 for absent or unencodable names, matching pinned CPython import.c and its initialization table.

Assisted-by: OpenAI Codex:model version unavailable

* Normalize successful index conversions to exact integers

Match PyNumber_Index after its internal protocol call: preserve exceptions and warning timing, then copy bool or int-subclass payloads to an exact int without calling __index__ again.

Assisted-by: OpenAI Codex:model version unavailable

* Retire passing surrogate-import expected failures

Canonical cases now pass on the repaired import paths, including hosted Windows validation. Preserve their bodies and platform guards through update_lib.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:34:04 +09:00
youknowdot 75e77c30e3 Update ten leaf stdlib modules to Python 3.15 (#9208)
* Update ten leaf standard-library modules to Python 3.15

Migrate mail, TOML, zoneinfo and CLI leaves in dependency order with canonical tests and preserved RustPython guards.

Assisted-by: OpenAI Codex:model version unavailable

* Defer warning initialization for lazy standard-library imports

Match CPython startup option processing and load the Python display helper on the first native warning.

Assisted-by: OpenAI Codex:model version unavailable

* Update the canonical webbrowser consumer for argparse colors

Copy the complete pinned CPython 3.15 webbrowser module and tests via update_lib. The canonical CLI test disables coloring while preserving all assertions. This consumer overlaps the pending HTTP/doc split #9193.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:31:03 +09:00
1ndahous3 c434bfdacd Preserve deque subclass construction and iteration in arithmetic (#9207)
* Preserve deque subclass construction and iteration in arithmetic

Assisted-by: Codex:GPT-6

* Handle allocation failures during deque subclass repetition

Assisted-by: Codex:GPT-6
2026-10-19 20:30:05 +09:00
1ndahous3 aa9455082d Support Netlink socket addresses (#9206)
Assisted-by: Codex:GPT-6
2026-10-19 20:28:39 +09:00
1ndahous3 65f30fd151 Return character counts from the UTF-8 encoder fast path (#9205)
Assisted-by: Codex:GPT-6
2026-10-19 20:28:10 +09:00
1ndahous3 3a0ef4d3d4 Allow subclassing the remaining public itertools types (#9204)
Assisted-by: Codex:GPT-6
2026-10-19 20:27:35 +09:00
1ndahous3 257d291b3a Preserve extended opcode arguments under sys.monitoring (#9203)
* Preserve extended opcode arguments under sys.monitoring

Assisted-by: Codex:GPT-6

* Restart monitored execution after line callback jumps

Assisted-by: Codex:GPT-6

* Keep monitoring argument state out of the dispatch loop

Assisted-by: Codex:GPT-6
2026-10-19 20:27:00 +09:00
youknowdot c4681299c2 Honor Python 3.15 frozen-module startup configuration (#9202)
* Honor frozen module startup selection

Assisted-by: OpenAI Codex:model version unavailable

* Match frozen option configuration diagnostics

Assisted-by: OpenAI Codex:model version unavailable

* Preserve frozen option initialization precedence

Validate the first occurrence, then apply the final value as CPython does after getpath configuration normalization.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:26:02 +09:00
youknowdot dfa3a1ae66 Align process lifecycle libraries with Python 3.15 (#9201)
Migrate ten canonical production modules and fifteen complete canonical test files, retaining existing RustPython guards. Nine modules change behavior; heap removes duplicated allocation checks.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:24:52 +09:00
youknowdot c84d862711 Update REPL rendering and completion for Python 3.15 (#9200)
* Preserve pyrepl console mock guards during migration

Keep the existing three named-function decorator workarounds and their explanations at exact audited anchors. Reject changed canonical or local preambles, and retain canonical test bodies.

Assisted-by: OpenAI Codex:model version unavailable

* Update pyrepl rendering and completion for Python 3.15

Sync the complete _pyrepl package and rlcompleter with CPython d220409a13b77de7a6c30abe16ea90db01528edc using scripts/update_lib copy-lib. Migrate the complete test_pyrepl package and existing repl/completion consumers, preserving existing RustPython guards and canonical assertions.

This is a source checkpoint. Interpreter, PTY, native platform, workspace, C-API and Clippy validation remain pending; host updater tests and configured commit hooks passed.

Assisted-by: OpenAI Codex:model version unavailable

* Include lazy soft keyword for canonical REPL highlighting

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:24:24 +09:00
youknowdot fc853015d1 Keep functools Placeholder identity in interpreter state (#9198)
Fresh _functools imports must not replace the singleton returned for existing Placeholder objects. Share initialization within each interpreter and return the published winner under racing imports.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-19 20:14:16 +09:00
youknowdot 23da4ac248 Isolate GC ownership test from child automatic collection (#9196)
Disable automatic GC before creating the child cycle so the test measures only whether the parent forced collection can reach child-owned objects. Keep both assertions and the parent collection retry unchanged.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:12:21 +09:00
youknowdot c208352caf Guard regression data runner against multiprocessing re-entry (#9195)
Run discovery and result writing only from the script entrypoint. Spawn and forkserver imports as __mp_main__ must not recursively execute the complete test suite or remove the parent result file.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-19 20:11:55 +09:00
youknowdot 71eec23bee Align sys runtime metadata with Python 3.15 (#9194)
Expose ABI metadata, preserve the canonical sys.flags tuple order and named flags, and report the native lock implementation honestly. Refresh canonical test_sys while preserving RustPython guards.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:11:12 +09:00
youknowdot 170e772255 Refresh Python 3.15 HTTP, URL and documentation libraries (#9193)
* Refresh Python 3.15 HTTP, URL and documentation libraries

Import the connected documentation and HTTP/URL library closure from CPython d220409a13b77de7a6c30abe16ea90db01528edc using scripts/update_lib. Preserve surviving RustPython test guards; the upstream-removed CGI test class has no remaining marker target.

Assisted-by: OpenAI Codex:model version unavailable

* Retire obsolete wsgiref file-wrapper test forwarder

Canonical Python 3.15 removed the target method; migrate with an empty marker override rather than retain an expected-failure call to a nonexistent super method.

Assisted-by: OpenAI Codex:model version unavailable

* Adapt pydoc classification to the Cargo source layout

Expose the existing source-directory predicate as sys._is_python_build and regenerate pinned pydoc with the explicit updater transform shared with the mega repair. Installed layouts and explicit basedir arguments retain upstream behavior.

Assisted-by: OpenAI Codex:model version unavailable

* Expose source-directory classification on every platform

The existing platform-neutral Lib and Cargo.toml predicate is needed by sys._is_python_build on all platforms; preserve its algorithm unchanged.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-19 20:08:24 +09:00
youknowdot feca6f2004 Align collections and testing libraries with Python 3.15 (#9192)
* Align collections and testing libraries with Python 3.15

Refresh twelve production modules and canonical tests through scripts/update_lib at CPython d220409a13b77de7a6c30abe16ea90db01528edc. Preserve existing RustPython unittest helpers and test guards. Accept frozendict in native defaultdict and OrderedDict union slots, matching upstream PyAnyDict_Check without changing constructors, factories, or update order.

Validated as a local stack on the exact #9189 regex/dataclasses/typing prerequisite; this dependency avoids eager typing.ByteString deprecation during unittest warning tests.

Assisted-by: OpenAI Codex: model version unavailable

* Synchronize regression runner with doctest subtest reporting

Refresh the canonical test_regrtest consumer and its direct runner/pythoninfo closure through scripts/update_lib at CPython d220409a13b77de7a6c30abe16ea90db01528edc. Preserve both existing expected-failure markers. This aligns the runner test with doctest reporting two failed examples and one skipped example.

Assisted-by: OpenAI Codex: model version unavailable
2026-10-19 20:07:29 +09:00
1ndahous3 e7e3dfd6ce Allow reflected fallback for in-place set operators (#9182)
Assisted-by: Codex:gpt-6
2026-10-18 23:00:18 +09:00
1ndahous3andJeong, YunWon e411f91721 Share ctypes array-field storage with its owner (#9186)
* Share ctypes array-field storage with its owner

Assisted-by: Codex:GPT-6

* Clarify ctypes view storage safety requirements

Assisted-by: Codex:GPT-6

* Handle overlapping ctypes field buffer assignments

Assisted-by: Codex:GPT-6

* Track ctypes from_buffer sources for overlapping assignments

Assisted-by: Codex:GPT-6

* Snapshot memoryview sources for borrowed ctypes storage

Assisted-by: Codex:GPT-6

* Retain source buffers until memoryview assignment completes

Assisted-by: Codex:GPT-6

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2026-10-18 22:39:56 +09:00