工具/示例

C API

Python 3.9.0 alpha 5

发布日期: 2020-03-23

安全性

核心与内置函数

Previously, the bytecode evaluation loop was interrupted at each instruction until the main thread executes pending calls.

Previously, the bytecode evaluation loop was interrupted at each instruction until the main thread handles signals.

This affects consumers of tstate->id like the contextvar caching machinery, which could return invalid cached objects under heavy thread load (observed in embedded scenarios).

文档

测试

构建

Windows

macOS

IDLE

工具/示例

C API

没有模块状态的扩展模块 (m_size <= 0) 不会受到影响。

Python 3.9.0 alpha 4

发布日期: 2020-02-25

安全性

核心与内置函数

文档

测试

构建

Windows

IDLE

C API

Python 3.9.0 alpha 3

发布日期: 2020-01-24

核心与内置函数

The following four bytecodes have been removed:

  • BUILD_LIST_UNPACK

  • BUILD_TUPLE_UNPACK

  • BUILD_SET_UNPACK

  • BUILD_TUPLE_UNPACK_WITH_CALL

The following three bytecodes have been added:

  • LIST_TO_TUPLE

  • LIST_EXTEND

  • SET_UPDATE

This improves the clarity of the interpreter and should provide a modest speedup.

(Contributed by Jendrik Seipp in bpo-13601 [https://bugs.python.org/issue?@action=redirect&bpo=13601].)

文档