Python: Complex Numbers Get First-Class Treatment
Python 3.15 takes a major step forward with native complex number support in arrays and memory views, plus critical error handling improvements for dictionary unpacking. The day brought 20 merged pull requests including groundbreaking work from Sergey Kirpichev on complex array support and important fixes from Serhiy Storchaka for AttributeError masking.
Duration: PT4M15S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-03-27T10:28:18Z
- Audio duration: PT4M15S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Hey there, Python developers! Welcome back to another episode of the Python podcast. I'm your host, and wow, do we have an exciting day to talk about. March 27th brought us 20 merged pull requests and 17 additional commits, and honestly, there's some pretty groundbreaking stuff happening in Python land that I think…
Let's dive right into the headline story, because this is genuinely exciting for anyone working with numerical computing. Sergey Kirpichev has been on an absolute roll, landing not one but two major pull requests that bring first-class complex number support to Python's core data structures.
First up, we've got complex array support in the array module. This has been a long time coming, folks. If you've ever tried to work with complex numbers in arrays and felt like you were fighting the language, those days are over. The implementation adds proper 'F' and 'D' format types for single and double…
But Sergey didn't stop there. The second piece of this puzzle is memoryview support for these same complex format types. This means you can now efficiently work with complex number data across different Python objects without all the copying and conversion overhead that used to…
No…
Nearby episodes from Python
- Performance Insights and Platform Polish
- Security Fixes and Developer Experience Polish
- Error Handling Evolution and Quality of Life Wins
- JIT Compiler Gets Frame Pointer Safety & Performance Wins
- JIT Optimization Surge and Testing Infrastructure Wins
- JIT Gets Smarter and Core Gets Cleaner
- Emscripten Takes Center Stage
- Base64 Gets a Speed Boost