Python Updates: CPython Speed, No-GIL, and Tooling

·41m 12s
Shared point

Python Language Summit 2022 Highlights

This episode features an in-depth breakdown of the 2022 Python Language Summit, highlighting critical discussions among core developers regarding the future of CPython.

Performance and Scalability

No-GIL Proposal: Discussions continue on Sam Gross's no-GIL work. While exciting, the community is debating whether this should exist as a separate build, a fork, or a compiler flag.
Sub-interpreters: Eric Snow is driving efforts to implement per-interpreter GILs, reducing reliance on shared global variables.
Faster CPython: A major 5-year plan spearheaded by Guido van Rossum and Mark Shannon aims for massive speed improvements, with Python 3.11 already showing significant gains.
Immortal Objects: Strategies to optimize memory by exempting fundamental objects (like None, True, False) from reference counting.

Tooling and Libraries

Data Integrity and Visualization

"I really like that they have a function for generating a color palette ... [including] colorblind friendly palette."

Distinctipy: A lightweight package for generating visually distinct, colorblind-friendly color palettes for data visualization.
Soda SQL: A tool geared towards data engineers to define and enforce data quality tests via YAML files.
Pandas Tutor: Now utilizing Pyodide and WebAssembly to run data analysis directly in the browser.

Engineering and Workflow

Allspice: A Git-based platform designed for hardware engineers, featuring visual diffing tools for circuit schematics.
GitHub Actions Job Summaries: A new feature allowing developers to inject Markdown summaries directly into job logs.
TextSniper: A utility that simplifies research by capturing OCR data from images, PDFs, or videos instantly.

Topics

Chapters

8 chapters
Python Bytes
AI chat — answers grounded in episodes