freenode

← digests

Python PEPs lead on parallelism, builtins, and wheels

Languages & Toolchains2026-08-24

Python developers advanced multiple PEPs on safe concurrency, builtin visibility, subscriptable functions, and wheel metadata. Rust and Haskell threads examined enum layout flexibility and candidate extensions for a future language edition.

PEP 805 for race-free parallel Python

Mark Shannon posted PEP 805, which seeks race-free parallel Python through shallow freezing and per-object state. The proposal drew technical questions on compatibility and its relation to PEP 795. Developers tracking CPython concurrency models have a concrete design to evaluate against existing free-threading work.

Public and private builtins via PEP 844

PEP 844 proposes distinguishing public and private builtins as a way to manage all. The thread produced heavy traffic after the withdrawal of PEP 842, with 31 participants. The change would give library authors clearer control over which names appear in star imports and documentation.

Subscriptable functions in PEP 718

Discussion of PEP 718 on subscriptable functions continued, with participation from Guido van Rossum, a prototype in mypy, and open questions about decorators and partials. Allowing functions to accept type arguments would align call-site syntax with generic classes. Typing-tool maintainers and library authors using higher-order functions are the primary audience.

Wheel variants metadata in PEP 825

PEP 825, split from PEP 817, received active review of its wheel variants metadata design. Feedback focused on dependencies, ABI handling, and versioning. Packaging-tool authors and distributors need the rules settled before variant-aware installers can ship.

Orthogonal discriminants pre-RFC for Rust

A pre-RFC proposes decoupling an enum discriminant type from layout decisions to obtain clearer semantics and more flexibility. The internals thread drew 13 participants. The change would let Rust programmers express intent about tags without forcing particular memory representations.

Candidate extensions for the next GHC edition

Haskell developers examined which extensions should enter a potential GHC2027 language edition and what stability criteria should apply. Twenty participants weighed the trade-offs. Compiler users who rely on edition defaults will be affected by the final selection.

Export statement proposed in PEP 843

PEP 843 introduces an export statement intended to keep all updated automatically for re-exports in hub modules. The goal is less boilerplate when a package re-exports names from submodules. Authors of large namespace packages are the clearest beneficiaries.

Clarifying TypedDict unpacking in calls

A typing specification proposal clarifies rules for unpacking TypedDicts in function calls, especially under PEP 728 closed and extra-item semantics. Debate centered on whether violations may or should be errors. Type-checker implementers and users of structured configuration dicts need consistent diagnostics.