# 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)

---

## [Proposing \_\_parse\_\_: a standard inverse of \_\_str\_\_](https://discuss.python.org/t/proposing-parse-a-standard-inverse-of-str/109527)

<div class="topic-metadata">

**Author:** [@crue.tech](https://discuss.python.org/u/crue.tech)\
**Replies:** 22\
**Last updated:** [October 17, 2026, 1:19pm UTC](https://discuss.python.org/t/proposing-parse-a-standard-inverse-of-str/109527 "2026-10-17T13:19:48Z")

</div>

Python standardizes T → str via \_\_str\_\_, but it does not for the partial inverse str ⇀ T. Given a type and a string, nothing in the standard enables introspection whether the type offers string parsing or how to invoke i…

---

## [Free-threaded GC improvements](https://discuss.python.org/t/free-threaded-gc-improvements/109530)

<div class="topic-metadata">

**Author:** [@thomas](https://discuss.python.org/u/thomas)\
**Replies:** 1\
**Last updated:** [October 17, 2026, 1:05pm UTC](https://discuss.python.org/t/free-threaded-gc-improvements/109530 "2026-10-17T13:05:01Z")

</div>

I’ve been spending a little time investigating potential improvements to the free-threaded GC, using Claude Code to prototype and measure the effects. None of the code is in a state that I would be eager to merge into CP…

---

## [Archiving doc and doc-sig mailing lists?](https://discuss.python.org/t/archiving-doc-and-doc-sig-mailing-lists/109537)

<div class="topic-metadata">

**Author:** [@julien](https://discuss.python.org/u/julien)\
**Replies:** 0\
**Last updated:** [October 17, 2026, 12:34pm UTC](https://discuss.python.org/t/archiving-doc-and-doc-sig-mailing-lists/109537 "2026-10-17T12:34:52Z")

</div>

Hi, Like the translation mailing list has been archived I propose archiving docs@ and doc-sig@ in favor of this discourse category. On doc-sig@, since 2022, we’ve seen only 4 emails, moderating it got very boring as th…

---

## [@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:** 1\
**Last updated:** [October 17, 2026, 11:31am UTC](https://discuss.python.org/t/sumtype-nested-variants-implicit-sealing-for-sum-types/109536 "2026-10-17T11:31:21Z")

</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…

---

## [Add explanation to \`operator\` docs about intentionally excluding short-circuit operators](https://discuss.python.org/t/add-explanation-to-operator-docs-about-intentionally-excluding-short-circuit-operators/109516)

<div class="topic-metadata">

**Author:** [@MarkRotchell](https://discuss.python.org/u/MarkRotchell)\
**Replies:** 6\
**Last updated:** [October 17, 2026, 10:52am UTC](https://discuss.python.org/t/add-explanation-to-operator-docs-about-intentionally-excluding-short-circuit-operators/109516 "2026-10-17T10:52:13Z")

</div>

Following discussion on PEP 824 here about whether a new None-coalescing operator should be added to the operator module in the standard library it was pointed out that short-circuit operators are intentionally not imple…

---

## [PEP 771: Default Extras for Python Software Packages (Round 3)](https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-3/109501)

<div class="topic-metadata">

**Author:** [@trobitaille](https://discuss.python.org/u/trobitaille)\
**Replies:** 10\
**Last updated:** [October 17, 2026, 9:26am UTC](https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-3/109501 "2026-10-17T09:26:06Z")

</div>

We are happy to share an updated version of PEP 771! There was a lot of good feedback and many valid points raised in the previous round of discussion, and we have updated the PEP to reflect as much of the discussion …

---

## [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:** 49\
**Last updated:** [October 17, 2026, 8:05am UTC](https://discuss.python.org/t/pep-824-none-coalescing-operators/109161 "2026-10-17T08:05:11Z")

</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…

---

## [Pre-PEP: Dependency sources in pyproject.toml](https://discuss.python.org/t/pre-pep-dependency-sources-in-pyproject-toml/109346)

<div class="topic-metadata">

**Author:** [@cjames23](https://discuss.python.org/u/cjames23)\
**Replies:** 22\
**Last updated:** [October 17, 2026, 6:03am UTC](https://discuss.python.org/t/pre-pep-dependency-sources-in-pyproject-toml/109346 "2026-10-17T06:03:12Z")

</div>

Note: I recognize that there have been a few different similar threads close to this topic that have appeared to stall. I would like to ask for feedback on the concept of Dependency Sources as a top level table in pypro…

---

## [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:** 87\
**Last updated:** [October 17, 2026, 4:49am UTC](https://discuss.python.org/t/pep-823-none-aware-access-operators/109159 "2026-10-17T04:49:21Z")

</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…

---

## [Use \`PC/pyconfig.h.in\` instead of hard coding \`PC/pyconfig.h\`](https://discuss.python.org/t/use-pc-pyconfig-h-in-instead-of-hard-coding-pc-pyconfig-h/109475)

<div class="topic-metadata">

**Author:** [@Locked-chess-official](https://discuss.python.org/u/Locked-chess-official)\
**Replies:** 10\
**Last updated:** [October 17, 2026, 3:19am UTC](https://discuss.python.org/t/use-pc-pyconfig-h-in-instead-of-hard-coding-pc-pyconfig-h/109475 "2026-10-17T03:19:27Z")

</div>

This idea product a new way to generate PC/pyconfig.h: Now you have this c.in file. #ifndef Py\_CONFIG\_H #define Py\_CONFIG\_H // ... #undef HAVE\_XXX #undef HAVE\_YYY #undef SIZEOF\_ZZZ #endif Then write a configure.toml:…

---

## [Proposal to add a community section in here](https://discuss.python.org/t/proposal-to-add-a-community-section-in-here/109493)

<div class="topic-metadata">

**Author:** [@Abdur-rahmaanJ](https://discuss.python.org/u/Abdur-rahmaanJ)\
**Replies:** 6\
**Last updated:** [October 17, 2026, 12:22am UTC](https://discuss.python.org/t/proposal-to-add-a-community-section-in-here/109493 "2026-10-17T00:22:28Z")

</div>

Hi all, since this is the (alleged) replacement for the Python-list, request for a topic about community as well, we need a space to discuss community matters. If not possible, no worry.

---

## [(Ab)using the refcount for fast circular-reference checking](https://discuss.python.org/t/ab-using-the-refcount-for-fast-circular-reference-checking/109483)

<div class="topic-metadata">

**Author:** [@Nineteendo](https://discuss.python.org/u/Nineteendo)\
**Replies:** 13\
**Last updated:** [October 16, 2026, 11:07pm UTC](https://discuss.python.org/t/ab-using-the-refcount-for-fast-circular-reference-checking/109483 "2026-10-16T23:07:19Z")

</div>

I’ve been experimenting with an alternative to the circular-reference tracking used by json. By using a bit in the reference count as a temporary marker, I was able to speed up encoding by roughly 3× in my tests, bringin…

---

## [PEP 848: Generational Incremental Garbage Collection](https://discuss.python.org/t/pep-848-generational-incremental-garbage-collection/109214)

<div class="topic-metadata">

**Author:** [@markshannon](https://discuss.python.org/u/markshannon)\
**Replies:** 5\
**Last updated:** [October 16, 2026, 10:02pm UTC](https://discuss.python.org/t/pep-848-generational-incremental-garbage-collection/109214 "2026-10-16T22:02:15Z")

</div>

tldr: Replaces the current generational-only cycle GC with a generational-incremental GC with lower overhead. Much faster: 3-5% speedup on pyperformance Shorter pause times: How much shorter depends on the application…

---

## [Python Packaging Council has a GitHub repository!](https://discuss.python.org/t/python-packaging-council-has-a-github-repository/109533)

<div class="topic-metadata">

**Author:** [@pradyunsg](https://discuss.python.org/u/pradyunsg)\
**Replies:** 0\
**Last updated:** [October 16, 2026, 9:56pm UTC](https://discuss.python.org/t/python-packaging-council-has-a-github-repository/109533 "2026-10-16T21:56:03Z")

</div>

Hi folks! We’ve just made the GitHub repository for the Python Packaging Council into a publicly visible repository. We’re going to post the meeting notes from all our meetings there – you can find the public meeting…

---

## [PEP 808: Partially dynamic project metadata](https://discuss.python.org/t/pep-808-partially-dynamic-project-metadata/104883)

<div class="topic-metadata">

**Author:** [@henryiii](https://discuss.python.org/u/henryiii)\
**Replies:** 40\
**Last updated:** [October 16, 2026, 7:40pm UTC](https://discuss.python.org/t/pep-808-partially-dynamic-project-metadata/104883 "2026-10-16T19:40:35Z")

</div>

Hello everyone! On behalf of my co-author, @Lecris and sponsor @FFY00, I’d like to announce PEP 808: Partially dynamic project metadata. You can see a rendered version here. This PEP proposes allowing list and table de…

---

## [PEP 832: virtual environment discovery](https://discuss.python.org/t/pep-832-virtual-environment-discovery/106998)

<div class="topic-metadata">

**Author:** [@brettcannon](https://discuss.python.org/u/brettcannon)\
**Replies:** 208\
**Last updated:** [October 16, 2026, 7:01pm UTC](https://discuss.python.org/t/pep-832-virtual-environment-discovery/106998 "2026-10-16T19:01:28Z")

</div>

The abstract: This PEP sets out to help make the discovery of a project’s virtual environment easier for tools by providing a default location as well as a way for a project to point to its preferred virtual environm…

---

## [Python on Windows ARM64](https://discuss.python.org/t/python-on-windows-arm64/104524)

<div class="topic-metadata">

**Author:** [@steve.dower](https://discuss.python.org/u/steve.dower)\
**Replies:** 29\
**Last updated:** [October 16, 2026, 4:51pm UTC](https://discuss.python.org/t/python-on-windows-arm64/104524 "2026-10-16T16:51:58Z")

</div>

Those who read all the way through release pages will have noticed that we’ve had “experimental” releases for Windows ARM64 platforms. These have been stable since about 3.10, but it’s taken a while for the ecosystem to …

---

## [Make some number configure macros public in non-limited capi](https://discuss.python.org/t/make-some-number-configure-macros-public-in-non-limited-capi/109441)

<div class="topic-metadata">

**Author:** [@Locked-chess-official](https://discuss.python.org/u/Locked-chess-official)\
**Replies:** 3\
**Last updated:** [October 16, 2026, 3:14pm UTC](https://discuss.python.org/t/make-some-number-configure-macros-public-in-non-limited-capi/109441 "2026-10-16T15:14:25Z")

</div>

Some non-standard macros in pyconfig.h (like SIZEOF\_VOID\_P or LONG\_BIT) are useful (for example, numpy use them). This idea is to make them public: In pyconfig.h.in, change it to \_Py\_\* In Python.h add the code like it …

---

## [Announcement: distlib 0.4.4 released on PyPI](https://discuss.python.org/t/announcement-distlib-0-4-4-released-on-pypi/109526)

<div class="topic-metadata">

**Author:** [@vsajip](https://discuss.python.org/u/vsajip)\
**Replies:** 0\
**Last updated:** [October 16, 2026, 2:09pm UTC](https://discuss.python.org/t/announcement-distlib-0-4-4-released-on-pypi/109526 "2026-10-16T14:09:42Z")

</div>

Version 0.4.4 of distlib has recently been released on PyPI. For newcomers, distlib is a library of packaging functionality which is intended to be usable as the basis for third-party packaging tools. The main changes …

---

## [OperationalError: no such function: REGEXP](https://discuss.python.org/t/operationalerror-no-such-function-regexp/109461)

<div class="topic-metadata">

**Author:** [@anjanesh](https://discuss.python.org/u/anjanesh)\
**Replies:** 3\
**Last updated:** [October 16, 2026, 9:57am UTC](https://discuss.python.org/t/operationalerror-no-such-function-regexp/109461 "2026-10-16T09:57:37Z")

</div>

I just tried this in sqlite3 command line and it works ! sqlite\> .open oewn-plus-2026-sqlite-3.0.1.sqlite sqlite\> SELECT COUNT(w.\`wordid\`) AS \`Total\` FROM \`words\` w WHERE w.\`word\` REGEXP '\[0-9\]' = 0 AND 1; 151867 So th…

---

## [PEP 845: Leading-Dot Value Patterns for match statement](https://discuss.python.org/t/pep-845-leading-dot-value-patterns-for-match-statement/109405)

<div class="topic-metadata">

**Author:** [@stoneleaf](https://discuss.python.org/u/stoneleaf)\
**Replies:** 16\
**Last updated:** [October 16, 2026, 2:13am UTC](https://discuss.python.org/t/pep-845-leading-dot-value-patterns-for-match-statement/109405 "2026-10-16T02:13:05Z")

</div>

Continuing the discussion from PEP 845: Leading-Dot Value Patterns: Please chime in with your thoughts!

---

## [Translations.python.org does not reflect the current progress](https://discuss.python.org/t/translations-python-org-does-not-reflect-the-current-progress/109492)

<div class="topic-metadata">

**Author:** [@Abdur-rahmaanJ](https://discuss.python.org/u/Abdur-rahmaanJ)\
**Replies:** 9\
**Last updated:** [October 16, 2026, 1:36am UTC](https://discuss.python.org/t/translations-python-org-does-not-reflect-the-current-progress/109492 "2026-10-16T01:36:41Z")

</div>

Hi all, I am the Arabic coordinator for the docs. We have been receiving contribs to the Ar repo but https://translations.python.org/ says that Progress over the last 30 days is +0.00%. How can we address the issue?

---

## [Add docs/translation discourse link to translations.python.org](https://discuss.python.org/t/add-docs-translation-discourse-link-to-translations-python-org/109491)

<div class="topic-metadata">

**Author:** [@Abdur-rahmaanJ](https://discuss.python.org/u/Abdur-rahmaanJ)\
**Replies:** 3\
**Last updated:** [October 15, 2026, 10:07pm UTC](https://discuss.python.org/t/add-docs-translation-discourse-link-to-translations-python-org/109491 "2026-10-15T22:07:40Z")

</div>

Hi all, very glad to see that https://translations.python.org/ exists. Since we archived the mailing list, request to add Translations - Discussions on Python.org to the page so that people can ask and clarify what they…

---

## [Review request for PR #151479: clarify pathlib full\_match docs](https://discuss.python.org/t/review-request-for-pr-151479-clarify-pathlib-full-match-docs/109484)

<div class="topic-metadata">

**Author:** [@harjothkhara](https://discuss.python.org/u/harjothkhara)\
**Replies:** 2\
**Last updated:** [October 15, 2026, 8:01pm UTC](https://discuss.python.org/t/review-request-for-pr-151479-clarify-pathlib-full-match-docs/109484 "2026-10-15T20:01:57Z")

</div>

Hi, I’d appreciate a review of PR #151479, a small documentation-only change that adds an example to the pathlib full\_match() docs showing how \*\* behaves with trailing slashes. The PR has been open for about four month…

---

## [A ternary operator for typed Python](https://discuss.python.org/t/a-ternary-operator-for-typed-python/102617)

<div class="topic-metadata">

**Author:** [@smcjones](https://discuss.python.org/u/smcjones)\
**Replies:** 4\
**Last updated:** [October 15, 2026, 7:02pm UTC](https://discuss.python.org/t/a-ternary-operator-for-typed-python/102617 "2026-10-15T19:02:21Z")

</div>

Hello, this is my first post here, so I’m sorry if this has already been discussed. I don’t see any PEPs related to this and my search of this forum and GitHub came back empty. Proposal would be to add the following typ…

---

## [Error message for missing comma is unhelpful when the missing comma would be at the end of line](https://discuss.python.org/t/error-message-for-missing-comma-is-unhelpful-when-the-missing-comma-would-be-at-the-end-of-line/109460)

<div class="topic-metadata">

**Author:** [@ramona-church](https://discuss.python.org/u/ramona-church)\
**Replies:** 4\
**Last updated:** [October 15, 2026, 6:42pm UTC](https://discuss.python.org/t/error-message-for-missing-comma-is-unhelpful-when-the-missing-comma-would-be-at-the-end-of-line/109460 "2026-10-15T18:42:15Z")

</div>

This file def hello(arg1="x", arg2="y"): print(arg1) print(arg2) var1 = "a" var2 = "b" hello( a b ) Shows the following error: File "\[REDACTED\]", line 12 a ^ SyntaxError: invalid syntax. Perhaps…

---

## [How to install python in an pc of windows 11 model](https://discuss.python.org/t/how-to-install-python-in-an-pc-of-windows-11-model/109509)

<div class="topic-metadata">

**Author:** [@MarkChristian](https://discuss.python.org/u/MarkChristian)\
**Replies:** 1\
**Last updated:** [October 15, 2026, 6:28pm UTC](https://discuss.python.org/t/how-to-install-python-in-an-pc-of-windows-11-model/109509 "2026-10-15T18:28:21Z")

</div>

Please help me for the above given request

---

## [Modify 'import' command](https://discuss.python.org/t/modify-import-command/109468)

<div class="topic-metadata">

**Author:** [@NickC](https://discuss.python.org/u/NickC)\
**Replies:** 4\
**Last updated:** [October 15, 2026, 5:44pm UTC](https://discuss.python.org/t/modify-import-command/109468 "2026-10-15T17:44:56Z")

</div>

Does anyone know if it is possible to intercept the import statement somehow so that the source code could be automatically modified before it is saved as a compiled .pyc file? I think some might call this monkey-patchi…

---

## [Why is my Python CLI input mangled?](https://discuss.python.org/t/why-is-my-python-cli-input-mangled/108891)

<div class="topic-metadata">

**Author:** [@rokejulianlockhart](https://discuss.python.org/u/rokejulianlockhart)\
**Replies:** 4\
**Last updated:** [October 15, 2026, 4:38pm UTC](https://discuss.python.org/t/why-is-my-python-cli-input-mangled/108891 "2026-10-15T16:38:09Z")

</div>

When I invoke /usr/bin/python3 (from python3-3.14.7-1.fc44), whether in konsole-26.08.0-1.fc44 or warp-terminal-preview-v0.2026.09.02.08.27.preview\_01-1 (irrespective of whether first invoked in another shell, like power…

---

## [A more elegant "ternary" as function ternary](https://discuss.python.org/t/a-more-elegant-ternary-as-function-ternary/105853)

<div class="topic-metadata">

**Author:** [@sabre](https://discuss.python.org/u/sabre)\
**Replies:** 23\
**Last updated:** [October 15, 2026, 2:54pm UTC](https://discuss.python.org/t/a-more-elegant-ternary-as-function-ternary/105853 "2026-10-15T14:54:51Z")

</div>

Hello Python has a syntax to mimic ternary operator, but its syntax is like inverted as the if result is written before the if. Writing if else for a ternary operator makes other languages to look smarter, as they hav…

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