文档

测试

Fix pathlib.PureWindowsPath.is_absolute() incorrectly returning False for some paths beginning with two (back)slashes.

构建

Windows

macOS

IDLE

C API

Python 3.13.0 alpha 2

Release date: 2023-11-22

核心与内置函数

The SUSPENDED frame state is now split into SUSPENDED and SUSPENDED_YIELD_FROM. This simplifies the code in PyGenyf.

  • gh-111520 [https://github.com/python/cpython/issues/111520]: Merge the Tier 1 (bytecode) and Tier 2 (microops) interpreters together, moving the Tier 2 interpreter loop and switch into PyEvalEvalFrameDefault() in Python/ceval.c. The Python/executor.c file is gone. Also the TIER_ONE and TIER_TWO macros are now handled by the code generator.

Beware! This changes the environment variables to enable microops and their debugging to PYTHON_UOPS and PYTHON_LLTRACE.

Previously all path components of the stripdir prefix that matched the full path were removed, while those that did not match were left alone (including ones interspersed between matching components).

测试

构建

Windows

macOS