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

---

## [Allow profiling an entrypoint (dotted.name:func) (maybe \`-e\`?)](https://discuss.python.org/t/allow-profiling-an-entrypoint-dotted-name-func-maybe-e/109402)

<div class="topic-metadata">

**Author:** [@asottile](https://discuss.python.org/u/asottile)\
**Replies:** 0\
**Last updated:** [October 8, 2026, 7:07pm UTC](https://discuss.python.org/t/allow-profiling-an-entrypoint-dotted-name-func-maybe-e/109402 "2026-10-08T19:07:28Z")

</div>

minimal problem statement: profiling a module or script muddies the profile with import-time computation. it would be nice to profile just a function open problems: what to put in sys.argv\[0\]? (this is apparently alrea…

---

## [Type hint ignore all references to a particular variable?](https://discuss.python.org/t/type-hint-ignore-all-references-to-a-particular-variable/109378)

<div class="topic-metadata">

**Author:** [@NickC](https://discuss.python.org/u/NickC)\
**Replies:** 37\
**Last updated:** [October 8, 2026, 6:55pm UTC](https://discuss.python.org/t/type-hint-ignore-all-references-to-a-particular-variable/109378 "2026-10-08T18:55:09Z")

</div>

Is there any way I can tell the PyCharm Type-checker to ignore all warnings for a particular variable? I know I can ignore each line but as this variable is used all over the project it would be good to find some way to…

---

## [Documentation for .decode() differences between 3.14 & 3.15](https://discuss.python.org/t/documentation-for-decode-differences-between-3-14-3-15/109400)

<div class="topic-metadata">

**Author:** [@NickC](https://discuss.python.org/u/NickC)\
**Replies:** 5\
**Last updated:** [October 8, 2026, 6:47pm UTC](https://discuss.python.org/t/documentation-for-decode-differences-between-3-14-3-15/109400 "2026-10-08T18:47:10Z")

</div>

Is there documentation anywhere detailing the differences in decode() and how it has changed between 3.14 and 3.15? I have some code which deals with html Post “multipart/form-data” and as far as I recall worked fine in…

---

## [Confused by virtual environments](https://discuss.python.org/t/confused-by-virtual-environments/109381)

<div class="topic-metadata">

**Author:** [@useronetoothreeeee](https://discuss.python.org/u/useronetoothreeeee)\
**Replies:** 24\
**Last updated:** [October 8, 2026, 4:50pm UTC](https://discuss.python.org/t/confused-by-virtual-environments/109381 "2026-10-08T16:50:11Z")

</div>

I began trying to install this program as per the instructions: sudo apt update && sudo apt install -y python3-venv bluez git git clone https://github.com/kbennett2000/linux-lifepo4-bms-monitor.git cd linux-lifepo4-bms-…

---

## [Generate \`Modules/getbuildinfo.h\` when building Python to get build information statically](https://discuss.python.org/t/generate-modules-getbuildinfo-h-when-building-python-to-get-build-information-statically/109401)

<div class="topic-metadata">

**Author:** [@vstinner](https://discuss.python.org/u/vstinner)\
**Replies:** 0\
**Last updated:** [October 8, 2026, 4:28pm UTC](https://discuss.python.org/t/generate-modules-getbuildinfo-h-when-building-python-to-get-build-information-statically/109401 "2026-10-08T16:28:42Z")

</div>

Hi, In short, please test my PR gh-158951 if you cross-compile Python or build Python in a specific way. The PR changes Python build system to run a new generate\_getbuildinfo.py script which generates getbuildinfo.h fil…

---

## [Unblocking PyCon videos?](https://discuss.python.org/t/unblocking-pycon-videos/108572)

<div class="topic-metadata">

**Author:** [@nedbat](https://discuss.python.org/u/nedbat)\
**Replies:** 8\
**Last updated:** [October 8, 2026, 4:11pm UTC](https://discuss.python.org/t/unblocking-pycon-videos/108572 "2026-10-08T16:11:31Z")

</div>

It’s been 13 weeks (a full quarter year) since PyCon US in Long Beach. The YouTube playlist of videos still says “131 videos, 80 hidden”. Can you give us an idea when we can expect the rest? Pablo’s keynote in particula…

---

## [Vote to promote Sergey Miryanov](https://discuss.python.org/t/vote-to-promote-sergey-miryanov/109283)

<div class="topic-metadata">

**Author:** [@Eclips4](https://discuss.python.org/u/Eclips4)\
**Replies:** 4\
**Last updated:** [October 8, 2026, 12:24pm UTC](https://discuss.python.org/t/vote-to-promote-sergey-miryanov/109283 "2026-10-08T12:24:31Z")

</div>

I’d like to nominate Sergey Miryanov (@sergey-miryanov on GitHub, @sergey-miryanov here) for promotion to the core team. Sergey began contributing to CPython in January 2025. Since then he has authored 65 merged PRs, op…

---

## [How do I install Python 3.15rc3?](https://discuss.python.org/t/how-do-i-install-python-3-15rc3/109390)

<div class="topic-metadata">

**Author:** [@bugbuuny](https://discuss.python.org/u/bugbuuny)\
**Replies:** 6\
**Last updated:** [October 8, 2026, 7:47am UTC](https://discuss.python.org/t/how-do-i-install-python-3-15rc3/109390 "2026-10-08T07:47:30Z")

</div>

Do y’all know how to download this? I can’t get it to on my computer.

---

## [How to build wheel for pydroid3 in CI?](https://discuss.python.org/t/how-to-build-wheel-for-pydroid3-in-ci/109398)

<div class="topic-metadata">

**Author:** [@Locked-chess-official](https://discuss.python.org/u/Locked-chess-official)\
**Replies:** 0\
**Last updated:** [October 8, 2026, 6:53am UTC](https://discuss.python.org/t/how-to-build-wheel-for-pydroid3-in-ci/109398 "2026-10-08T06:53:40Z")

</div>

The biggest question is how to build an environment like pydroid3. If it can finish, the pip in pydroid3 can install the wheel straightly (just need to specify url).

---

## [Allow automatic naming of sentinels within classes](https://discuss.python.org/t/allow-automatic-naming-of-sentinels-within-classes/109384)

<div class="topic-metadata">

**Author:** [@crj](https://discuss.python.org/u/crj)\
**Replies:** 5\
**Last updated:** [October 8, 2026, 1:28am UTC](https://discuss.python.org/t/allow-automatic-naming-of-sentinels-within-classes/109384 "2026-10-08T01:28:21Z")

</div>

In 3.15, this is the way to define a sentinel within a class (example from the documentation): class Cls: PICKLABLE = sentinel("Cls.PICKLABLE") I am personally averse to the common antipattern in Python of: value …

---

## [Improving overloads with intersections](https://discuss.python.org/t/improving-overloads-with-intersections/109322)

<div class="topic-metadata">

**Author:** [@mikeshardmind](https://discuss.python.org/u/mikeshardmind)\
**Replies:** 9\
**Last updated:** [October 7, 2026, 11:45pm UTC](https://discuss.python.org/t/improving-overloads-with-intersections/109322 "2026-10-07T23:45:46Z")

</div>

(hopefully last lead up discussion topic on intersections needed) Right now, overload resolution rules allow producing mostly good results, but to get those, there’s a significant amount of verbosity. I expect this to g…

---

## [Not using structseq in sys?](https://discuss.python.org/t/not-using-structseq-in-sys/109328)

<div class="topic-metadata">

**Author:** [@brettcannon](https://discuss.python.org/u/brettcannon)\
**Replies:** 11\
**Last updated:** [October 7, 2026, 11:13pm UTC](https://discuss.python.org/t/not-using-structseq-in-sys/109328 "2026-10-07T23:13:41Z")

</div>

I want to add sys.\_wasi\_info, but I noticed that everything in sys which stores any structured data uses structseq. But since sys.\_wasi\_info will be new there’s no need to support an index API. And yet it almost feels we…

---

## [Python 3.10.22, 3.11.17, 3.12.15, 3.13.16 and 3.14.8 are now available!](https://discuss.python.org/t/python-3-10-22-3-11-17-3-12-15-3-13-16-and-3-14-8-are-now-available/109296)

<div class="topic-metadata">

**Author:** [@pablogsal](https://discuss.python.org/u/pablogsal)\
**Replies:** 12\
**Last updated:** [October 7, 2026, 11:09pm UTC](https://discuss.python.org/t/python-3-10-22-3-11-17-3-12-15-3-13-16-and-3-14-8-are-now-available/109296 "2026-10-07T23:09:51Z")

</div>

A full sweep of Python releases is here: Python 3.10.22, 3.11.17, 3.12.15, 3.13.16 and 3.14.8 are now available! One last lap around the Sun for Python 3.10, and security updates across all five series. Get them here: …

---

## [Python 3.15: following tradition, let's have a surprise rc3!](https://discuss.python.org/t/python-3-15-following-tradition-lets-have-a-surprise-rc3/109313)

<div class="topic-metadata">

**Author:** [@hugovk](https://discuss.python.org/u/hugovk)\
**Replies:** 3\
**Last updated:** [October 2, 2026, 9:09pm UTC](https://discuss.python.org/t/python-3-15-following-tradition-lets-have-a-surprise-rc3/109313 "2026-10-02T21:09:13Z")

</div>

Following recent tradition, I’m going to add a surprise third release candidate for Python 3.15.0! We got some last-minute lazy-import release blockers, and it makes sense to include them in 3.15.0 final. It also makes …

---

## [While Loops, how do they work?](https://discuss.python.org/t/while-loops-how-do-they-work/107621)

<div class="topic-metadata">

**Author:** [@wb.194](https://discuss.python.org/u/wb.194)\
**Replies:** 9\
**Last updated:** [October 7, 2026, 6:09pm UTC](https://discuss.python.org/t/while-loops-how-do-they-work/107621 "2026-10-07T18:09:26Z")

</div>

I’m not new to python as a whole but I’m very bad at it however, I want to learn. I’ve tried to do some coding but I want to know what everything is actually doing rather than just reciting things online so if some of yo…

---

## [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:** 71\
**Last updated:** [October 7, 2026, 5:22pm UTC](https://discuss.python.org/t/pep-823-none-aware-access-operators/109159 "2026-10-07T17:22:52Z")

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

---

## [Iteration While Nested Loop](https://discuss.python.org/t/iteration-while-nested-loop/109277)

<div class="topic-metadata">

**Author:** [@AmericanFailure](https://discuss.python.org/u/AmericanFailure)\
**Replies:** 2\
**Last updated:** [October 7, 2026, 4:51pm UTC](https://discuss.python.org/t/iteration-while-nested-loop/109277 "2026-10-07T16:51:31Z")

</div>

Can someone help me figure out this nested while loop This is what I was given to do: And this is what I have so far:

---

## [Pre-PEP: UTF-8 String Representation](https://discuss.python.org/t/pre-pep-utf-8-string-representation/109197)

<div class="topic-metadata">

**Author:** [@methane](https://discuss.python.org/u/methane)\
**Replies:** 5\
**Last updated:** [October 7, 2026, 1:52pm UTC](https://discuss.python.org/t/pre-pep-utf-8-string-representation/109197 "2026-10-07T13:52:03Z")

</div>

I am considering using UTF-8 as Unicode’s internal representation. The potential benefits are: PEP 393’s Flexible String Representation (FSR) is an implementation detail and is not part of the Stable ABI. Some extensio…

---

## [Enabling thread\_inherit\_context and context\_aware\_warnings by default on both builds](https://discuss.python.org/t/enabling-thread-inherit-context-and-context-aware-warnings-by-default-on-both-builds/108205)

<div class="topic-metadata">

**Author:** [@ngoldbaum](https://discuss.python.org/u/ngoldbaum)\
**Replies:** 37\
**Last updated:** [October 7, 2026, 1:04pm UTC](https://discuss.python.org/t/enabling-thread-inherit-context-and-context-aware-warnings-by-default-on-both-builds/108205 "2026-10-07T13:04:14Z")

</div>

Currently, context variables and warnings behave differently when used with threads on the free-threaded build and the GIL-enabled build: on the free-threaded build, a new thread inherits the creating thread’s context by…

---

## [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:** 37\
**Last updated:** [October 7, 2026, 7:45am UTC](https://discuss.python.org/t/pep-824-none-coalescing-operators/109161 "2026-10-07T07:45:06Z")

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

---

## [PEP 661: Sentinel Values](https://discuss.python.org/t/pep-661-sentinel-values/9126)

<div class="topic-metadata">

**Author:** [@taleinat](https://discuss.python.org/u/taleinat)\
**Replies:** 378\
**Last updated:** [October 7, 2026, 6:44am UTC](https://discuss.python.org/t/pep-661-sentinel-values/9126 "2026-10-07T06:44:46Z")

</div>

---

## [Is \`\_sort\_order\_\` of the \`enum.Enum\` safe to use?](https://discuss.python.org/t/is-sort-order-of-the-enum-enum-safe-to-use/109369)

<div class="topic-metadata">

**Author:** [@Lecris](https://discuss.python.org/u/Lecris)\
**Replies:** 4\
**Last updated:** [October 6, 2026, 6:08pm UTC](https://discuss.python.org/t/is-sort-order-of-the-enum-enum-safe-to-use/109369 "2026-10-06T18:08:19Z")

</div>

This is not documented anywhere, and instead I see countless hacks for making enum.StrEnum orderable. On the other hand, if we use the \_sort\_order\_ then it is easier class Example(enum.StrEnum): FOO = enum.auto() …

---

## [Can we have float -\> binanry as fbin and binary -\> float as fnum conversion in math library?](https://discuss.python.org/t/can-we-have-float-binanry-as-fbin-and-binary-float-as-fnum-conversion-in-math-library/109363)

<div class="topic-metadata">

**Author:** [@gvitalie](https://discuss.python.org/u/gvitalie)\
**Replies:** 14\
**Last updated:** [October 6, 2026, 11:14am UTC](https://discuss.python.org/t/can-we-have-float-binanry-as-fbin-and-binary-float-as-fnum-conversion-in-math-library/109363 "2026-10-06T11:14:55Z")

</div>

Can we have float → binary as fbin and binary → float as fnum conversion in math library? I am not a professional programmer, so my code is just a raw example. # float -\> binary and binary -\> float conversion from fra…

---

## [PEP 828: Supporting 'yield from' in asynchronous generators](https://discuss.python.org/t/pep-828-supporting-yield-from-in-asynchronous-generators/106459)

<div class="topic-metadata">

**Author:** [@ZeroIntensity](https://discuss.python.org/u/ZeroIntensity)\
**Replies:** 75\
**Last updated:** [October 6, 2026, 7:44am UTC](https://discuss.python.org/t/pep-828-supporting-yield-from-in-asynchronous-generators/106459 "2026-10-06T07:44:15Z")

</div>

Hello, I’ve written a PEP proposing support for yield from in async generators, as well as an async yield from statement. This is currently targeted towards 3.15, but with the beta freeze coming up soon, this might not…

---

## [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:** 8\
**Last updated:** [October 6, 2026, 2:58am UTC](https://discuss.python.org/t/pre-pep-dependency-sources-in-pyproject-toml/109346 "2026-10-06T02:58:33Z")

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

---

## [Make \`\_\_doc\_\_\` on sentinels writable](https://discuss.python.org/t/make-doc-on-sentinels-writable/109067)

<div class="topic-metadata">

**Author:** [@tmk](https://discuss.python.org/u/tmk)\
**Replies:** 13\
**Last updated:** [October 5, 2026, 11:56pm UTC](https://discuss.python.org/t/make-doc-on-sentinels-writable/109067 "2026-10-05T23:56:19Z")

</div>

(partly inspired by the discussion in this thread) This seems useful to be able to do: UNKNOWN = sentinel("UNKNOWN") UNKNOWN.\_\_doc\_\_ = "Sentinel to represent values that cannot be calculated" so that, e.g., sphinx can…

---

## [Python 3.15.0 candidate 3 is here!](https://discuss.python.org/t/python-3-15-0-candidate-3-is-here/109327)

<div class="topic-metadata">

**Author:** [@hugovk](https://discuss.python.org/u/hugovk)\
**Replies:** 2\
**Last updated:** [October 5, 2026, 11:05pm UTC](https://discuss.python.org/t/python-3-15-0-candidate-3-is-here/109327 "2026-10-05T23:05:20Z")

</div>

Following recent tradition, here’s a surprise third release candidate for Python 3.15.0! We got some last-minute lazy-import release blockers, and it makes sense to include them in 3.15.0 final. It also makes sense to g…

---

## [Docstrings for type aliases](https://discuss.python.org/t/docstrings-for-type-aliases/108901)

<div class="topic-metadata">

**Author:** [@bswck](https://discuss.python.org/u/bswck)\
**Replies:** 26\
**Last updated:** [October 5, 2026, 7:38pm UTC](https://discuss.python.org/t/docstrings-for-type-aliases/108901 "2026-10-05T19:38:49Z")

</div>

Hi! I propose preserving a string literal immediately following a type statement as the resulting alias object’s \_\_doc\_\_ attribute, with support in pydoc to display it in help(), and making that docstring retrievable fro…

---

## [Announcing the Python Language Summit 2026 blog posts](https://discuss.python.org/t/announcing-the-python-language-summit-2026-blog-posts/109284)

<div class="topic-metadata">

**Author:** [@sethmlarson](https://discuss.python.org/u/sethmlarson)\
**Replies:** 1\
**Last updated:** [October 5, 2026, 5:28pm UTC](https://discuss.python.org/t/announcing-the-python-language-summit-2026-blog-posts/109284 "2026-10-05T17:28:53Z")

</div>

Hey everyone, the Python Language Summit 2026 blog posts are now available on Python Insider. The Python Language Summit took place on July 14th, 2026, this year held in Kraków, Poland at EuroPython 2026. I hope you enjo…

---

## [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:** 55\
**Last updated:** [October 5, 2026, 4:14pm UTC](https://discuss.python.org/t/pep-836-jit-go-brrr-the-path-to-a-supported-jit-compiler-for-cpython/108010 "2026-10-05T16:14:05Z")

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

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