# Latest

**URL:** https://discuss.python.org/latest.md

[Latest](https://discuss.python.org/latest.md) · [Categories](https://discuss.python.org/categories.md) · [Tags](https://discuss.python.org/tags.md)

---

## [Tuple comprehensions revisited, in relation to PEP 841 and async iterables](https://discuss.python.org/t/tuple-comprehensions-revisited-in-relation-to-pep-841-and-async-iterables/109590)

<div class="topic-metadata">

**Author:** [@abkwreu](https://discuss.python.org/u/abkwreu)\
**Replies:** 57\
**Last updated:** [November 2, 2026, 9:01pm UTC](https://discuss.python.org/t/tuple-comprehensions-revisited-in-relation-to-pep-841-and-async-iterables/109590 "2026-11-02T21:01:58Z")

</div>

PEP 841 proposes adding new display syntax for frozenset and frozenlist: f{1, 2, 3} for a frozenset f{"a": 1} for a frozendict It also proposes comprehension syntax for both of these immutable collections, supporting …

---

## [Making performance work easier in CPython](https://discuss.python.org/t/making-performance-work-easier-in-cpython/109711)

<div class="topic-metadata">

**Author:** [@savannahostrowski](https://discuss.python.org/u/savannahostrowski)\
**Replies:** 13\
**Last updated:** [November 2, 2026, 8:21pm UTC](https://discuss.python.org/t/making-performance-work-easier-in-cpython/109711 "2026-11-02T20:21:18Z")

</div>

After chatting with folks at PyCon US, EuroPython and the sprint last week, I wanted to start a broader discussion about our benchmarking infrastructure and tooling. There are a few things I’d like to work on and would l…

---

## [Getting Apple to distribute a supported version of Python?](https://discuss.python.org/t/getting-apple-to-distribute-a-supported-version-of-python/109774)

<div class="topic-metadata">

**Author:** [@paulehoffman](https://discuss.python.org/u/paulehoffman)\
**Replies:** 4\
**Last updated:** [November 2, 2026, 8:14pm UTC](https://discuss.python.org/t/getting-apple-to-distribute-a-supported-version-of-python/109774 "2026-11-02T20:14:23Z")

</div>

The current version of MacOS, 27.2, comes with Python 3.9.6, which was EOL’d a year ago. Has there been any discussion in the PSF to try to get Apple to distribute a supported version of Python, maybe even a relatively c…

---

## [PEP 813 - The Pretty Print Protocol (round 2)](https://discuss.python.org/t/pep-813-the-pretty-print-protocol-round-2/109651)

<div class="topic-metadata">

**Author:** [@barry](https://discuss.python.org/u/barry)\
**Replies:** 10\
**Last updated:** [November 2, 2026, 7:56pm UTC](https://discuss.python.org/t/pep-813-the-pretty-print-protocol-round-2/109651 "2026-11-02T19:56:24Z")

</div>

At the recently concluded Python core team sprint, @ericvsmith and I worked on some major updates to PEP 813 - The Pretty Print Protocol. We think it’s in pretty\[1\] good shape and essentially ready to be proposed for Py…

---

## [PPC office hours for 2026-10-20](https://discuss.python.org/t/ppc-office-hours-for-2026-10-20/109575)

<div class="topic-metadata">

**Author:** [@brettcannon](https://discuss.python.org/u/brettcannon)\
**Replies:** 9\
**Last updated:** [November 2, 2026, 7:56pm UTC](https://discuss.python.org/t/ppc-office-hours-for-2026-10-20/109575 "2026-11-02T19:56:01Z")

</div>

We just got this scheduled, so it’s very short notice, but the PPC is going to have our inaugural office hours today/2026-10-20 in less than 30 minutes/17:00 UTC. Feel free to join Google Meet meeting if you had somethin…

---

## [PEP 824: None-coalescing operators](https://discuss.python.org/t/pep-824-none-coalescing-operators/109161)

<div class="topic-metadata">

**Author:** [@cdce8p](https://discuss.python.org/u/cdce8p)\
**Replies:** 86\
**Last updated:** [November 2, 2026, 6:57pm UTC](https://discuss.python.org/t/pep-824-none-coalescing-operators/109161 "2026-11-02T18:57:49Z")

</div>

Building on the ideas from PEP 505 and after many discussions over the years, I’m happy to present PEP 824: None-coalescing operators. Please be sure to also check out the discussion for the companion PEP 823. Abstract T…

---

## [PyPi Security Monitoring](https://discuss.python.org/t/pypi-security-monitoring/109802)

<div class="topic-metadata">

**Author:** [@xormant](https://discuss.python.org/u/xormant)\
**Replies:** 8\
**Last updated:** [November 2, 2026, 4:05pm UTC](https://discuss.python.org/t/pypi-security-monitoring/109802 "2026-11-02T16:05:01Z")

</div>

Python is truly amazing, an extremely easy to use language that can be implemented in just about anything, but. On a fresh install of Windows 11 I can install python with basically zero performance issues. As soon as I s…

---

## [Creation of new identifer](https://discuss.python.org/t/creation-of-new-identifer/109807)

<div class="topic-metadata">

**Author:** [@NewBeginner](https://discuss.python.org/u/NewBeginner)\
**Replies:** 6\
**Last updated:** [November 2, 2026, 2:58pm UTC](https://discuss.python.org/t/creation-of-new-identifer/109807 "2026-11-02T14:58:46Z")

</div>

A new idea: “only” I came up with an idea for a new Python keyword called “only”. The idea is to check all available values and find the ones that satisfy a condition without having to manually write multiple loops or …

---

## [@sumtype: nested variants + implicit sealing for sum types](https://discuss.python.org/t/sumtype-nested-variants-implicit-sealing-for-sum-types/109536)

<div class="topic-metadata">

**Author:** [@azhzx](https://discuss.python.org/u/azhzx)\
**Replies:** 10\
**Last updated:** [November 2, 2026, 1:17pm UTC](https://discuss.python.org/t/sumtype-nested-variants-implicit-sealing-for-sum-types/109536 "2026-11-02T13:17:24Z")

</div>

This is a design sketch, not a PEP. Prior discussions worth reading: Sum Types in the stdlib (Jul 2025), and the draft @sealed PEP. Why Sometimes we need sum types. Two approaches both have gaps: Plain inheritance: typ…

---

## [Speed up tasks execution by eagerly calling scheduled callbacks (25-35% boost)](https://discuss.python.org/t/speed-up-tasks-execution-by-eagerly-calling-scheduled-callbacks-25-35-boost/109743)

<div class="topic-metadata">

**Author:** [@asvetlov](https://discuss.python.org/u/asvetlov)\
**Replies:** 6\
**Last updated:** [November 2, 2026, 12:48pm UTC](https://discuss.python.org/t/speed-up-tasks-execution-by-eagerly-calling-scheduled-callbacks-25-35-boost/109743 "2026-11-02T12:48:27Z")

</div>

The ‘main’ branch runs callbacks scheduled by loop.call\_soon() on the next event loop iteration. The proposed gh-160760: asyncio: run newly scheduled callbacks eagerly before polling for I/O by asvetlov · Pull Request #…

---

## [Speed up async functions execution by 40% by postponing a coroutine object creation](https://discuss.python.org/t/speed-up-async-functions-execution-by-40-by-postponing-a-coroutine-object-creation/109808)

<div class="topic-metadata">

**Author:** [@asvetlov](https://discuss.python.org/u/asvetlov)\
**Replies:** 0\
**Last updated:** [November 2, 2026, 11:21am UTC](https://discuss.python.org/t/speed-up-async-functions-execution-by-40-by-postponing-a-coroutine-object-creation/109808 "2026-11-02T11:21:00Z")

</div>

Now on await f() Python creates a coroutine object on heap and then calls coro.send(None). If an async function doesn’t suspend (directly or indirectly awaits for non-ready future in asyncio world), the coroutine is sti…

---

## [Pre-PEP: Add ability to install a package with reproducible dependencies](https://discuss.python.org/t/pre-pep-add-ability-to-install-a-package-with-reproducible-dependencies/99497)

<div class="topic-metadata">

**Author:** [@Kound](https://discuss.python.org/u/Kound)\
**Replies:** 53\
**Last updated:** [November 2, 2026, 9:34am UTC](https://discuss.python.org/t/pre-pep-add-ability-to-install-a-package-with-reproducible-dependencies/99497 "2026-11-02T09:34:12Z")

</div>

Context PEP 751 introduced a standardized format for reproducible package installation when working on a Python project. At the same time, tools like pipenv, poetry, uv, and pipx made it much easier to install a Python …

---

## [PEP 823: None-aware access operators](https://discuss.python.org/t/pep-823-none-aware-access-operators/109159)

<div class="topic-metadata">

**Author:** [@cdce8p](https://discuss.python.org/u/cdce8p)\
**Replies:** 115\
**Last updated:** [November 2, 2026, 9:24am UTC](https://discuss.python.org/t/pep-823-none-aware-access-operators/109159 "2026-11-02T09:24:32Z")

</div>

Building on the ideas from PEP 505 and after many discussions over the years, I’m happy to present PEP 823: None-aware access operators. Please be sure to also check out the discussion for the companion PEP 824. Abstrac…

---

## [Sponsor Pillow ❤️](https://discuss.python.org/t/sponsor-pillow/109655)

<div class="topic-metadata">

**Author:** [@aclark](https://discuss.python.org/u/aclark)\
**Replies:** 2\
**Last updated:** [November 2, 2026, 5:23am UTC](https://discuss.python.org/t/sponsor-pillow/109655 "2026-11-02T05:23:07Z")

</div>

Hello folks! Earlier this year we added GitHub Sponsors to the Python Pillow GitHub organization. If you use Pillow in a revenue-generating environment or just love Pillow, please take a minute to sponsor the Python Pi…

---

## [PEP 851: Add list.discard()](https://discuss.python.org/t/pep-851-add-list-discard/109701)

<div class="topic-metadata">

**Author:** [@Stanfromireland](https://discuss.python.org/u/Stanfromireland)\
**Replies:** 57\
**Last updated:** [November 1, 2026, 11:10pm UTC](https://discuss.python.org/t/pep-851-add-list-discard/109701 "2026-11-01T23:10:31Z")

</div>

Abstract Add list.discard(x), which removes the first item equal to x if one is present and does nothing otherwise, returning whether an item was removed. It is the non-raising counterpart to list.remove(), as set.discar…

---

## [Support CTRL + SHIFT + V](https://discuss.python.org/t/support-ctrl-shift-v/109782)

<div class="topic-metadata">

**Author:** [@Lucas\_Malor](https://discuss.python.org/u/Lucas_Malor)\
**Replies:** 2\
**Last updated:** [November 1, 2026, 10:40pm UTC](https://discuss.python.org/t/support-ctrl-shift-v/109782 "2026-11-01T22:40:07Z")

</div>

Is it possible to support CTRL + SHIFT + V when replying? Sometimes I copy/paste rich text and there’s no way to paste it as plain text without pasting it somewhere else, copying it again and pasting it into the form. N…

---

## [PEP 847: Problem Details for the Simple Repository API](https://discuss.python.org/t/pep-847-problem-details-for-the-simple-repository-api/108996)

<div class="topic-metadata">

**Author:** [@woodruffw](https://discuss.python.org/u/woodruffw)\
**Replies:** 22\
**Last updated:** [November 1, 2026, 10:37pm UTC](https://discuss.python.org/t/pep-847-problem-details-for-the-simple-repository-api/108996 "2026-11-01T22:37:56Z")

</div>

Pre-PEP thread: Pre-PEP Discussion: RFC 9457 Error Responses for Package registries Current PEP text: PEP 847 – Problem Details for the Simple Repository API | peps.python.org Summary of rationale and motivation Right …

---

## [Reification of a lazily imported module on a specific case](https://discuss.python.org/t/reification-of-a-lazily-imported-module-on-a-specific-case/109776)

<div class="topic-metadata">

**Author:** [@facundo](https://discuss.python.org/u/facundo)\
**Replies:** 2\
**Last updated:** [November 1, 2026, 10:01pm UTC](https://discuss.python.org/t/reification-of-a-lazily-imported-module-on-a-specific-case/109776 "2026-11-01T22:01:54Z")

</div>

Hello! What is the rationale behind triggering the import of the module when it’s internals are not really accessed? E.g.: lazy import cmd1 mods = \[cmd1\] Thanks! . Facundo

---

## [Checking if stdin is readable on Windows](https://discuss.python.org/t/checking-if-stdin-is-readable-on-windows/109790)

<div class="topic-metadata">

**Author:** [@adrianofdoom](https://discuss.python.org/u/adrianofdoom)\
**Replies:** 2\
**Last updated:** [November 1, 2026, 10:23am UTC](https://discuss.python.org/t/checking-if-stdin-is-readable-on-windows/109790 "2026-11-01T10:23:02Z")

</div>

In one of my packages, I have a cli tool and I use a function to see if there is anything to read on stdin for piping video in to my cli tool. def stdin\_is\_readable(): """ stdin\_is readable, detect data on std…

---

## [Request for guidance: PyPI name similarity rejection for repolens](https://discuss.python.org/t/request-for-guidance-pypi-name-similarity-rejection-for-repolens/109787)

<div class="topic-metadata">

**Author:** [@CalebPiusC](https://discuss.python.org/u/CalebPiusC)\
**Replies:** 2\
**Last updated:** [November 1, 2026, 12:37am UTC](https://discuss.python.org/t/request-for-guidance-pypi-name-similarity-rejection-for-repolens/109787 "2026-11-01T00:37:20Z")

</div>

Hello everyone, I’m preparing to publish an open-source Python project called RepoLens, a command-line tool for repository analysis, codebase insights, dependency scanning and security checks. My intended PyPI distribu…

---

## [Vote to promote Hood Chatham](https://discuss.python.org/t/vote-to-promote-hood-chatham/109631)

<div class="topic-metadata">

**Author:** [@savannahostrowski](https://discuss.python.org/u/savannahostrowski)\
**Replies:** 4\
**Last updated:** [October 31, 2026, 10:07pm UTC](https://discuss.python.org/t/vote-to-promote-hood-chatham/109631 "2026-10-31T22:07:12Z")

</div>

I’d like to nominate Hood Chatham (@hoodmane here and on GitHub) for promotion to the core team. Hood has been contributing to CPython since 2022. He has authored 175 issues and pull requests and has been involved in 10…

---

## [Vote to promote Cody Maloney](https://discuss.python.org/t/vote-to-promote-cody-maloney/109613)

<div class="topic-metadata">

**Author:** [@emmatyping](https://discuss.python.org/u/emmatyping)\
**Replies:** 1\
**Last updated:** [October 31, 2026, 10:05pm UTC](https://discuss.python.org/t/vote-to-promote-cody-maloney/109613 "2026-10-31T22:05:38Z")

</div>

@gpshead, @vstinner, and I are excited to nominate Cody Maloney (@cmaloney here and on Github) for promotion to Core Developer. Cody began contributing to CPython in June 2024. Since then he has authored 99 merged PRs a…

---

## [Using SRC layout without building a package](https://discuss.python.org/t/using-src-layout-without-building-a-package/109773)

<div class="topic-metadata">

**Author:** [@jksjieij](https://discuss.python.org/u/jksjieij)\
**Replies:** 4\
**Last updated:** [October 31, 2026, 5:53pm UTC](https://discuss.python.org/t/using-src-layout-without-building-a-package/109773 "2026-10-31T17:53:34Z")

</div>

I’m a bit lost on what to do after having copied the “workaround” suggested at src layout vs flat layout - Python Packaging User Guide? In other words, what should be done in \<PKG\>/\_\_main\_\_.py to use an SRC layout when …

---

## [PEP 836: JIT Go Brrr: The Path to a Supported JIT Compiler for CPython](https://discuss.python.org/t/pep-836-jit-go-brrr-the-path-to-a-supported-jit-compiler-for-cpython/108010)

<div class="topic-metadata">

**Author:** [@kj0](https://discuss.python.org/u/kj0)\
**Replies:** 83\
**Last updated:** [October 31, 2026, 6:50am UTC](https://discuss.python.org/t/pep-836-jit-go-brrr-the-path-to-a-supported-jit-compiler-for-cpython/108010 "2026-10-31T06:50:06Z")

</div>

Hello! @savannahostrowski @brandtbucher and I have drafted a PEP for the roadmap to an officially supported JIT in CPython, including the holistic criteria that the JIT should meet, in response to the Steering Council’s…

---

## [Vote to promote Malcolm Smith](https://discuss.python.org/t/vote-to-promote-malcolm-smith/109462)

<div class="topic-metadata">

**Author:** [@encukou](https://discuss.python.org/u/encukou)\
**Replies:** 4\
**Last updated:** [October 31, 2026, 1:47am UTC](https://discuss.python.org/t/vote-to-promote-malcolm-smith/109462 "2026-10-31T01:47:14Z")

</div>

I’d like to nominate Malcolm Smith (@mhsmith here & on GitHub) for promotion to the core team. Malcolm maintains CPython for Android, starting in 2023 with PEP 738. He runs the Android buildbot. He’s authored 80 merged …

---

## [PEP 827: Type Manipulation](https://discuss.python.org/t/pep-827-type-manipulation/106353)

<div class="topic-metadata">

**Author:** [@yselivanov](https://discuss.python.org/u/yselivanov)\
**Replies:** 136\
**Last updated:** [October 30, 2026, 11:50pm UTC](https://discuss.python.org/t/pep-827-type-manipulation/106353 "2026-10-30T23:50:33Z")

</div>

This is a discussion thread on PEP 827 – Type Manipulation. The motivation for this PEP comes from a gap between Python and TypeScript: Python has an incredibly dynamic and powerful runtime, while TypeScript has an incr…

---

## [PEP 846: Docstrings for Type Aliases](https://discuss.python.org/t/pep-846-docstrings-for-type-aliases/109116)

<div class="topic-metadata">

**Author:** [@bswck](https://discuss.python.org/u/bswck)\
**Replies:** 8\
**Last updated:** [October 30, 2026, 9:07pm UTC](https://discuss.python.org/t/pep-846-docstrings-for-type-aliases/109116 "2026-10-30T21:07:17Z")

</div>

I am pleased to present PEP 846, a well-received idea to recognize docstrings of type aliases in Python. What I like the most about it is that it looks like an easy win for the language. It’s focused, it has support in…

---

## [Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 are out](https://discuss.python.org/t/python-3-15-2-3-14-10-3-13-18-3-12-16-and-3-11-18-are-out/109678)

<div class="topic-metadata">

**Author:** [@hugovk](https://discuss.python.org/u/hugovk)\
**Replies:** 18\
**Last updated:** [October 30, 2026, 5:06pm UTC](https://discuss.python.org/t/python-3-15-2-3-14-10-3-13-18-3-12-16-and-3-11-18-are-out/109678 "2026-10-30T17:06:28Z")

</div>

Here are expedited security releases of Python 3.15, 3.14, 3.13, 3.12 and 3.11. Python 3.15.2 Python 3.14.10 Python 3.13.18 Python 3.12.16 Python 3.11.18 They address the compromised eMudhra intermediate CA keys. Thes…

---

## [How Can I Get Involved in the PSF Education & Outreach Work Group?](https://discuss.python.org/t/how-can-i-get-involved-in-the-psf-education-outreach-work-group/109663)

<div class="topic-metadata">

**Author:** [@mojojv](https://discuss.python.org/u/mojojv)\
**Replies:** 5\
**Last updated:** [October 30, 2026, 4:59pm UTC](https://discuss.python.org/t/how-can-i-get-involved-in-the-psf-education-outreach-work-group/109663 "2026-10-30T16:59:19Z")

</div>

Hi everyone! I’m an organizer of Python Medellín and PyLadies Medellín in Colombia, and I’m interested in getting involved in Python education initiatives through the PSF. I’ve already submitted the application form fo…

---

## [How to install only dependencies of a package?](https://discuss.python.org/t/how-to-install-only-dependencies-of-a-package/4027)

<div class="topic-metadata">

**Author:** [@kmohrf](https://discuss.python.org/u/kmohrf)\
**Replies:** 7\
**Last updated:** [October 30, 2026, 1:47pm UTC](https://discuss.python.org/t/how-to-install-only-dependencies-of-a-package/4027 "2026-10-30T13:47:37Z")

</div>

Hi there :)! I’ve asked about this topic before on IRC, but did not stay long enough to get an answer :). A little bit of background: Most of the python projects I maintain are websites. In order to make upgrades on th…

[Next page](https://discuss.python.org/latest.md?page=1)
