🐍🚀 Out now: Python 3.15 alpha 7!
This is the first one with lazy imports (PEP 810) and frozendict (PEP 814)! Try it out and give us feedback.
discuss.python.org/t/python-3-1...
☃️ Just one alpha left until the feature freeze! Core team: get your PEPs in!
#Python #Python315 #release
The Story of Python's Lazy Imports: Why It Took Three Years and Two Attempts
techlife.blog/posts/the-st...
#Python #PEP810 #LazyImports #CPython #Performance #SoftwareEngineering #MetaCinder #Python315 #StartupTime #TechnicalDeepDive
Forget about Python 3.14* and 3.15†, Python 3.16 is here‡!
* Please don't, please upgrade
† Please don't, please test
‡ Open for new features in just two months
#Python #python314 #python315 #python316
Coming soon to Python 3.15: frozendict
The Steering Council has just accepted @vstinner.bsky.social and @corona10.bsky.social's PEP 814 "Add frozendict built-in type".
discuss.python.org/t/pep-814-ad...
peps.python.org/pep-0814/
#Python #PEP814 #frozendict #Python315
🐍🅰️ Out now, Python 3.15 alpha 6!
* A high-frequency sampling profiler
* Unpacking in comprehensions with * and **
* UTF-8 as the default encoding
* TypedDict with typed extra items
* The JIT compiler has up to 7-8% speedup
discuss.python.org/t/python-3-1...
#Python #Python315 #release
Using the new Tachyon profiler coming to Python 3.15 I profiled a one-liner to find a bottleneck, and sped up some 26-year-old code in @pillow.fosstodon.org.ap.brid.gy!
hugovk.dev/blog/2026/fa...
#Python #python315 #Tachyon #Pillow #PythonPillow #performance
I heard you like alphas?
Just released! Python 3.15.0a5, this time built against `main` from today instead of last month! 🚀
discuss.python.org/t/python-3-1...
#Python315 #Python #CPython #release
Just released: Python 3.15.0a4 and look at those JIT numbers!
discuss.python.org/t/python-3-1...
#Python315 #Python #CPython #release
Nice use of @pablogsal.com & co's new statistical profiler in Python 3.15!
#Python #Python315 #Tachyon
Top half of a chart showing dozens of benchmarks, most of them more than 1x faster.
Bottom half of the chart. About half of these are also most of them more than 1x faster, about a quarter are around 0.9 faster, and a quarter are insignificant.
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."
docs.python.org/3.15/whatsne...
See also doesjitgobrrr.com
#Python #Python315 #JIT #CPython
Just released! 🚀
🐍 Python 3.15a3!
discuss.python.org/t/python-3-1...
🔬 A new high-frequency statistical sampling profiler
💬 Python now uses UTF-8 as the default encoding
⚠️ Better error messages
🎨 Colour code snippets in argparse help: bsky.app/profile/sava...
#Python #Python315 #CPython #release
Just released! 🚀
🐍 Python 3.15 alpha 2!
🔬 PEP 799: A new high-frequency sampling profiler
💬 PEP 686: Python now uses UTF-8 as the default encoding
🌊 PEP 782: PyBytesWriter C API to create a Python bytes object
⚠️ Better error messages
discuss.python.org/t/python-3-1...
#Python #Python315 #release
Who would like Rust in CPython 3.15?
@emmatyping.dev and Kirill Podoprigora propose:
"Rust will initially only be allowed for writing optional extension modules, but eventually will become a required dependency of CPython..."
discuss.python.org/t/pre-pep-ru...
#Python #Python315 #CPython #Rust
Just released! 🚀
🪑 PrettyTable 3.17.0
github.com/prettytable/...
Add support for Python 3.15, drop 3.9, test 3.13t-3.15t
Set dicts with column-specific config for all column-specific attrs
Update type hints
Replace pre-commit with prek
& more!
#Python #release #PrettyTable #Python315 #Python39
The Steering Council has accepted PEP 810 (explicit lazy imports) for Python 3.15!
discuss.python.org/t/pep-810-ex...
#Python #PEP810 #LazyImports #lazy #Python315
Just released! 🚀
🎨 termcolor 3.2.0
github.com/termcolor/te...
🟣 Expose `can_colorize` as public API
🟢 Add support for Python 3.15 (🥉 at pyreadiness.org/3.15/)
🔴 Drop support for EOLish Python 3.9
#Python #release #termcolor #Python315 #Python39
Forget* about Python 3.14, the cool kids are on 3.15.0a1! 🚀
🔬 Dedicated profiling package for Python profiling tools
💬 UTF-8 as default encoding
🌊 New C API to create bytes object
⚠️ Better error messages
discuss.python.org/t/python-3-1...
* Don't forget about 3.14
#Python #Python315 #release
The Steering Council accepted @pablogsal.com's PEP 799!
New `profiling` module:
* `tracing`: deterministic function-call tracing (moved from cProfile)
* `sampling`: new statistical sampling profiler
Old `profile` deprecated
discuss.python.org/t/pep-799-a-...
#Python #profiling #PEP799 #Python315
Less than one week to:
🥧 Python 3.14 beta! The feature freeze marks 5 months of stabilisation. Please test!
peps.python.org/pep-0745/
🕒 Forget 3.14 (please don't, please test), Python 3.15 development begins! Check out the new release PEP:
peps.python.org/pep-0790/
#Python #Python314 #Python315