Handy thing I just spotted coming to Python 3.15:

"The -W option and the PYTHONWARNINGS environment variable can now specify regular expressions instead of literal strings to match the warning message and the module name, if the corresponding field starts and ends with a forward slash (/).

"(Contributed by Serhiy Storchaka in gh-134716.)"

https://docs.python.org/3.15/whatsnew/3.15.html#other-language-changes

https://github.com/python/cpython/issues/134716

#Python #Python315 #regex #ComingSoon

Whatโ€™s new in Python 3.15

Editor, Hugo van Kemenade,. This article explains the new features in Python 3.15, compared to 3.14. For full details, see the changelog. Summary โ€“ Release highlights: PEP 799: A dedicated profilin...

Python documentation

Using the new Tachyon profiler coming to Python 3.15 I profiled a one-liner to find a bottleneck, then sped up some 26-year-old code in @pillow!

https://hugovk.dev/blog/2026/faster-pillow/

#Python #python315 #Tachyon #Pillow #PythonPillow #performance

Speeding up Pillow's open and save

Hugo van Kemenade
Oh look, folks! ๐ŸŽ‰ Henry and Damian discovered how to make Python's #packaging library 3x faster by redefining the laws of time and space with #Python 3.15's #magic wand. ๐Ÿš€ Now we can all sleep peacefully knowing our package versions are resolved at lightning #speed while the rest of our code crawls at a snail's pace. ๐ŸŒ๐Ÿ’จ
https://iscinumpy.dev/post/packaging-faster/ #Python315 #CodeOptimization #HackerNews #HackerNews #ngated
How we made Python's packaging library 3x faster

Along with a pip (and now packaging) maintainer, Damian Shaw, I have been working on making packaging, the library behind almost all packaging related tools, faster at reading versions and specifiers, something tools like pip have to do thousands of times during resolution. Using Python 3.15โ€™s new statistical profiler and metadata from every package ever uploaded to PyPI, I measured and improved core Packaging constructs while keeping the code readable and simple. Reading in Versions can be up to 2x faster and SpecifierSets can be up to 3x faster in packaging 26.0, now released! Other operations have been optimized, as well, up to 5x in some cases. See the announcement and release notes too; this post will focus on the performance work only.

ISciNumPy.dev

I heard you like alphas?

Just released! Python 3.15.0a5, this time built against `main` from today instead of last month! ๐Ÿš€

https://discuss.python.org/t/python-3-15-0-alpha-5-yes-another-alpha/105721

#Python315 #Python #CPython #release

Python 3.15.0 alpha 5 (yes, another alpha!)

Note: 3.14.0a4 was accidentally built against main from 2025-12-23 instead of 2026-01-13, so this 3.14.0a5 is an extra release correctly built against 2026-01-14. This is an early developer preview of Python 3.15 Major new features of the 3.15 series, compared to 3.14 Python 3.15 is still in development. This release, 3.15.0a5, is the fifth of seven eight planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test...

Discussions on Python.org

Really good to see new releases from Astral, pyenv and GitHub Actions just hours after a new Python release. And for an alpha at that!

#Python #CPython #release #Python315

Just released: Python 3.15.0a4 and look at those JIT numbers!

https://discuss.python.org/t/python-3-15-0-alpha-4/105706/1

#Python315 #Python #CPython #release

Python 3.15.0 alpha 4

This is an early developer preview of Python 3.15 Major new features of the 3.15 series, compared to 3.14 Python 3.15 is still in development. This release, 3.15.0a4, is the fourth of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up u...

Discussions on Python.org

Some new preliminary numbers from Ken Jin for the JIT in Python 3.15:

"On AArch64 macOS, the JIT has a 7-8% speedup over the tail calling interpreter with all optimizations enabled."

https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-jit

https://github.com/python/cpython/commit/d9c1235db44100b16355a347ca9e304df48411a7

This is in addition to 3-4% over the standard CPython interpreter on x86-64 Linux.

See also https://doesjitgobrrr.com

#Python #Python315 #JIT #CPython

๐Ÿš€ Breaking News: Python 3.15 for #Windows is rumored to be 15% faster! ๐ŸŽ‰ But don't get too excited, it's based on an "experimental" internal version of #MSVC, which probably means "good luck finding it." ๐Ÿ™ƒ Meanwhile, #apologies are being retracted like it's an Olympic sport. ๐Ÿฅ‡
https://fidget-spinner.github.io/posts/no-longer-sorry.html #Python315 #Speed #Rumor #Experimental #HackerNews #ngated
Python 3.15โ€™s interpreter for Windows x86-64 should hopefully be 15% faster

Python 3.15โ€™s interpreter for Windows x86-64 should hopefully be 15% faster

Ken Jinโ€™s Blog
Python 3.15โ€™s interpreter for Windows x86-64 should hopefully be 15% faster

Python 3.15โ€™s interpreter for Windows x86-64 should hopefully be 15% faster

Ken Jinโ€™s Blog