Artwork

内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Benchmarking Python 3.14 & Enabling Asyncio to Scale

47:24
 
分享
 

Manage episode 515368668 series 2637014
内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

How does Python 3.14 perform under a few hand-crafted benchmarks? Does the performance of asyncio scale on the free-threaded build? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

At the top of the show, we have a mountain of release news and Python Enhancement Proposals to cover. Then, we dig into a couple of articles covering the performance of Python 3.14. The first is a benchmarking comparison of the last several Python versions and their variations, including JIT and free-threaded mode. The second explores the changes in 3.14 that enable asyncio to scale on CPython’s free-threaded build.

We also share several other articles and projects from the Python community, including an introduction to NiceGUI, a free-threaded Python library compatibility checker, an exploration of what is “good taste” in software engineering, HTML templating with t‑strings, and a tool for testing Sphinx docs instantly in the browser.

Course Spotlight: Documenting Python Projects With Sphinx and Read the Docs

In this video series, you’ll create project documentation from scratch using Sphinx, the de facto standard for Python. You’ll also hook your code repository up to Read the Docs to automatically build and publish your code documentation.

Topics:

  • 00:00:00 – Introduction
  • 00:02:28 – Python 3.12.12, 3.11.14, 3.10.19 and 3.9.24 now available
  • 00:03:08 – Python 3.13.9 is now available
  • 00:03:26 – Python 3.15.0 alpha 1
  • 00:04:02 – PEP 804: An External Dependency Registry and Name Mapping Mechanism
  • 00:04:56 – PEP 806: Mixed Sync/Async Context Managers With Precise Async Marking
  • 00:06:34 – PEP 807: Index Support for Trusted Publishing
  • 00:07:21 – PEP 809: Stable ABI for the Future
  • 00:08:10 – PEP 810: Explicit Lazy Imports
  • 00:10:31 – Python lazy imports you can use today
  • 00:10:48 – Lazy Imports Using wrapt
  • 00:11:18 – Python 3.14 Is Here. How Fast Is It?
  • 00:17:45 – Free-Threaded Python Library Compatibility Checker
  • 00:19:54 – Scaling Asyncio on Free-Threaded Python
  • 00:24:06 – Real Python 3.14 Resources
  • 00:25:18 – Video Course Spotlight
  • 00:26:31 – Intro to NiceGUI: Build Interactive Python Web Apps
  • 00:30:22 – What Is “Good Taste” in Software Engineering?
  • 00:40:52 – Try Sphinx Docs Instantly in Your Browser
  • 00:43:11 – Introducing tdom: HTML Templating With t‑strings
  • 00:46:21 – Thanks and goodbye

News:

Show Links:

Discussion:

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

277集单集

Artwork
icon分享
 
Manage episode 515368668 series 2637014
内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

How does Python 3.14 perform under a few hand-crafted benchmarks? Does the performance of asyncio scale on the free-threaded build? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

At the top of the show, we have a mountain of release news and Python Enhancement Proposals to cover. Then, we dig into a couple of articles covering the performance of Python 3.14. The first is a benchmarking comparison of the last several Python versions and their variations, including JIT and free-threaded mode. The second explores the changes in 3.14 that enable asyncio to scale on CPython’s free-threaded build.

We also share several other articles and projects from the Python community, including an introduction to NiceGUI, a free-threaded Python library compatibility checker, an exploration of what is “good taste” in software engineering, HTML templating with t‑strings, and a tool for testing Sphinx docs instantly in the browser.

Course Spotlight: Documenting Python Projects With Sphinx and Read the Docs

In this video series, you’ll create project documentation from scratch using Sphinx, the de facto standard for Python. You’ll also hook your code repository up to Read the Docs to automatically build and publish your code documentation.

Topics:

  • 00:00:00 – Introduction
  • 00:02:28 – Python 3.12.12, 3.11.14, 3.10.19 and 3.9.24 now available
  • 00:03:08 – Python 3.13.9 is now available
  • 00:03:26 – Python 3.15.0 alpha 1
  • 00:04:02 – PEP 804: An External Dependency Registry and Name Mapping Mechanism
  • 00:04:56 – PEP 806: Mixed Sync/Async Context Managers With Precise Async Marking
  • 00:06:34 – PEP 807: Index Support for Trusted Publishing
  • 00:07:21 – PEP 809: Stable ABI for the Future
  • 00:08:10 – PEP 810: Explicit Lazy Imports
  • 00:10:31 – Python lazy imports you can use today
  • 00:10:48 – Lazy Imports Using wrapt
  • 00:11:18 – Python 3.14 Is Here. How Fast Is It?
  • 00:17:45 – Free-Threaded Python Library Compatibility Checker
  • 00:19:54 – Scaling Asyncio on Free-Threaded Python
  • 00:24:06 – Real Python 3.14 Resources
  • 00:25:18 – Video Course Spotlight
  • 00:26:31 – Intro to NiceGUI: Build Interactive Python Web Apps
  • 00:30:22 – What Is “Good Taste” in Software Engineering?
  • 00:40:52 – Try Sphinx Docs Instantly in Your Browser
  • 00:43:11 – Introducing tdom: HTML Templating With t‑strings
  • 00:46:21 – Thanks and goodbye

News:

Show Links:

Discussion:

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

277集单集

Minden epizód

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

版权2025 | 隐私政策 | 服务条款 | | 版权
边探索边听这个节目
播放