Commit Graph
17 Commits
Author SHA1 Message Date
youknowdot fc9f4a9541 Update importlib to CPython 3.15 with native bootstrap callback (#9169)
* Refresh canonical importlib and preserve native import callback

Cache the original builtin __import__ callback so CPython 3.15 importlib's
hierarchical locking uses the existing native parent-initialization path.
Refresh the complete canonical importlib and related test/helper families
from CPython d220409a13b77de7a6c30abe16ea90db01528edc through update_lib.

Preserve both nondecorator importlib guards in the updater. Add explicit
hash-pinned removal of reviewed obsolete canonical files, with full
preflight, dry-run, idempotence and refusal tests. Preserve empty fixtures.

Assisted-by: OpenAI Codex:model version unavailable

* Complete canonical inspect and types closure for importlib metadata

Refresh whole canonical inspect/types production and related test families
through update_lib after hosted CI exposed stale __cached__ consumers.
Add coroutine and async-generator state getters, with closed-state priority
for reentrant frame-local finalizers, and expose the existing frame-locals
proxy type with its CPython class documentation.

Preserve the optional _datetime and unittest import blocks through a narrow
migration adapter. Retain canonical assertions and existing guards; record
the missing LazyImportType expectation before adding a conditional expected
failure, and capability-skip only the two absent-_testcapi CLI fixtures.

Assisted-by: OpenAI Codex:model version unavailable

* Reject canonical removal junctions and read UTF-8 manifests

Reject junctions alongside symlinks in the existing path-component preflight and revalidation. Decode removal manifests explicitly as UTF-8. Add regressions for whole-batch refusal, revalidation, and Unicode dry-run/apply/idempotence.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-17 14:40:13 +09:00
Shahar Naveh a1355939d2 Update some libs to 3.14.6 (#8102) 2026-06-15 11:20:13 +09:00
CPython Developers 04fd0f6b8e Update types from v3.14.3 2026-02-18 17:19:49 +09:00
Lee Dogeon 5c7f6a2afa Update types from v3.14.2 (#6833)
This pull request updates `types` module to v3.14.2. While doing it, it
fixes also async-related feature. This pull request's base is generated
by #6827.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Generators that act as iterable coroutines are now recognized as
awaitable, improving async behavior.
* Yield-from and await interactions now handle coroutine-iterable
sources more consistently.

* **Bug Fixes**
* Reduces spurious TypeError cases when awaiting or yielding from
wrapped coroutine-like generators.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-23 23:23:02 +09:00
Jeong, YunWon 54ff198409 Upgrade Lib/types.py from Python 3.13.5 (#5928) 2025-07-10 08:57:08 +09:00
CPython Developers 75eebc49ba Update type related modules and tests from CPython 2022-08-09 05:59:02 +09:00
Moreal 72ba40ec6a Unmark types.UnionType 2021-12-06 02:47:18 +09:00
Moreal 7da94d878c Update types module to CPython 3.10.0 2021-12-05 17:06:56 +09:00
Moreal 2462d167d1 Bump types module to CPython 3.9.7 2021-09-19 03:36:24 +09:00
Noa c763b783b5 Update types.py to CPython 3.8 2021-08-22 00:07:02 -05:00
Noah 21e6910e1d Misc wrong behavior for function props, module.__init__, type.getattro 2021-04-11 17:38:44 -05:00
Noah 97b07885ad Uncomment AsyncGeneratorType in types.py 2020-04-05 14:57:28 -05:00
Noah a61318df8f Uncomment TracebackType and FrameType in types.py 2020-03-01 14:36:01 -06:00
coolreader18 bf08f2f6a3 Enable async stuff in stdlib modules 2019-11-07 00:04:51 -06:00
ben 60c9d5004a Add SimpleNamespace and sys.implementation 2019-05-19 15:01:22 +12:00
Seo Sanghyeon b76cb680e9 Comment out unsupported code from types.py 2019-05-13 11:44:12 +09:00
Seo Sanghyeon b048a66bc3 Copy types.py from CPython 2019-05-13 11:42:16 +09:00