9 Commits
Author SHA1 Message Date
youknowdot 9f6f771965 Align lazy imports and f/t-string interpolation with Python 3.15 (#9179)
* Preserve interpolation source text and canonical metadata

Source-only checkpoint; candidate validation and the existing annotation expectation reconciliation remain pending.

Assisted-by: OpenAI Codex:model version unavailable

* Align existing annotation expectations with CPython metadata

Update only the nine existing expected strings confirmed against pinned CPython 3.15, with explicit user approval.

Assisted-by: OpenAI Codex:model version unavailable

* Preserve template metadata through compilation and interactive input

Escape literal debug prefixes, retain None AST expression metadata internally, and continue incomplete triple-quoted t-strings in the existing shell.

Assisted-by: OpenAI Codex:model version unavailable

* Classify normalized unclosed brackets as REPL line continuations

Assisted-by: OpenAI Codex:model version unavailable

* Nest equivalent REPL parse-error alternatives for Clippy

Assisted-by: OpenAI Codex:model version unavailable

* Remove fulfilled annotation migration lint workaround

The canonical expected strings no longer trigger literal_string_with_formatting_args, so the previous lint expectation is obsolete.

Assisted-by: OpenAI Codex:model version unavailable

* Complete lazy-import exception and traceback library closure

Copy canonical traceback and legacy exception mappings with preserved RustPython guards. Copy explicit non-Python library assets by exact path so exception hierarchy data does not expand into the entire test package.

Assisted-by: OpenAI Codex:model version unavailable

* Provide Python 3.15 traceback metadata for missing modules and attributes

Preserve AttributeError context for missing class attribute deletion, matching type_update_dict. Expose canonical generated missing-stdlib messages through the native sysconfig modules without importing CPython build-specific disabled-module assumptions.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-18 17:11:26 +09:00
CPython Developers 5997507216 Update ast from v3.14.2 2026-02-02 01:20:23 +09:00
Shahar Naveh 8177525d49 Update ast.py from 3.13.5 (#6006) 2025-07-20 18:37:38 +09:00
ChenyG 4d6a180638 Update ast, test_ast from CPython 3.12.0 (#5121) 2023-11-23 23:06:12 +09:00
CPython Developers 53d0f41ba5 Update from CPython v3.10.9 2023-02-18 22:52:47 +09:00
CPython Developers f108d97353 Update {test_}ast.py from CPython 3.10.6 2022-08-19 04:52:45 +09:00
Noa 44d86c7de9 Update ast.py to CPython 3.9 2021-10-17 21:54:52 -05:00
Noah 971578b2f3 Upgrade ast.py to 3.8.7 2021-01-14 12:37:37 -06:00
CPython 3.7.4 3dbb6a62df Lib/ast.py from CPython 3.7.4 2019-10-12 14:55:32 +09:00