返回全部动态

Python 3.15 发布:惰性导入与采样分析器,告别 3.10

原标题:Hello Python 3.15, goodbye 3.10, and now I can use 3.11

Simon Willison's Weblog产品发布质量 70

AI 摘要

Simon Willison 介绍了 Python 3.15 的发布,重点包括 PEP 810 显式惰性导入、推导式解包语法以及标准库新增采样分析器 Tachyon。由于 3.15 发布,Python 3.10 正式停止支持,作者得以在开源项目中开始使用 Python 3.11 的 tomllib、TaskGroup、datetime.UTC 及 SQLite 增强等特性。性能方面,3.15 相比 3.14 提升有限,仅实验性 JIT 在 Fibonacci 测试中带来约 1.2 倍加速。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

Hello Python 3.15, goodbye 3.10, and now I can use 3.11 12th October 2026 Python 3.15 is here! Here’s the essential What’s new in Python 3.15 guide, this year curated by 3.14 and 3.15 release manager Hugo van Kemenade. As someone who builds open source software that works in every supported Python version, I get to say goodbye to Python 3.10 and start embracing features from Python 3.11. First, some highlights from Python 3.15. Explicit lazy imports I’m most excited about Explicit lazy imports f


发布时间:2026-10-13 02:15
抓取时间:2026-10-13 02:23
来源机构:Simon Willison
阅读原文simonwillison.net