7 Commits
Author SHA1 Message Date
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
Shahar Naveh 4841776856 Update contextlib from 3.13.5, (#6056)
* Update `contextlib` from 3.13.5

* Add `test_contextlib_async.py`
2025-08-01 22:39:00 +09:00
Sacha Dupuydauby 76c699b4ba Update contextlib from CPython 3.12 2025-01-12 00:40:41 +09:00
CPython Developers 301b79c688 Update contextlib.py and test_contextlib from CPython 3.11.2 2023-03-08 00:12:07 +09:00
coolreader18 bf08f2f6a3 Enable async stuff in stdlib modules 2019-11-07 00:04:51 -06:00
coolreader18 56fb6afb3f Remove async sections of contextlib.py 2019-07-11 09:39:40 -05:00
coolreader18 91d5fc389c Add contextlib.py 2019-07-11 09:34:09 -05:00