Python 3.14 with Łukasz Langa
Python 3.14 is here and continues Python’s evolution toward greater performance, scalability, and usability. The new release formally supports free-threaded, no-GIL mode, introduces template string literals, and implements deferred evaluation of type annotations. It also includes new debugging and profiling tools, along with many other features.
Łukasz Langa is the CPython Developer in Residence at the Python Software Foundation, and he joins Sean Falconer to discuss the 3.14 release, the future of free threading, type system improvements, Python’s growing role in AI, and how the language continues to evolve while maintaining its commitment to backward compatibility.
Sean’s been an academic, startup founder, and Googler. He has published works covering a wide range of topics from AI to quantum computing. Currently, Sean is an AI Entrepreneur in Residence at Confluent where he works on AI strategy and thought leadership. You can connect with Sean on LinkedIn.
Please click here to see the transcript of this episode.
Sponsorship inquiries: sponsor@softwareengineeringdaily.com
The post Python 3.14 with Łukasz Langa appeared first on Software Engineering Daily.
Free-threaded Python (Interview)
Jerod is joined by the co-hosts of core.py , Pablo Galindo & Łukasz Langa, a podcast about Python internals by people who work on Python internals. Python 3.13 is right around the corner, which means the Global Interpeter Lock (GIL) is now experimentally optional! This is a huge deal as Python is finally free-threaded. There’s more to discuss, of course, so we get into all the gory details.
Join the discussion
Changelog++ members save 12 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
Sentry – Code breaks, fix it faster. Don’t just observe. Take action. Sentry is the only app monitoring platform built for developers that gets to the root cause for every issue. 100,000+ growing teams use sentry to find problems fast. Use the code CHANGELOG when you sign up to get $100 OFF the team plan.
Fly.io – The home of Changelog.com — Deploy your apps close to your users — global Anycast load-balancing, zero-configuration private networking, hardware isolation, and instant WireGuard VPN connections. Push-button deployments that scale to thousands of instances. Check out the speedrun to get started in minutes.
Coder.com – Instantly launch fully configured cloud development environments (CDE) and make your first commit in minutes. No need to traverse README files or await onboarding queues. Learn more at Coder.com
Unblocked – Other developer tools can’t tell you how your codebase works and why. Unblocked can. We augment your code with context from Slack, Confluence, Jira, and more, so you get accurate answers without having to search for them. Sign up for free at getunblocked.com
Featuring:
Pablo Galindo – GitHub, X
Łukasz Langa – Website, GitHub, Mastodon, X
Jerod Santo – Website, GitHub, LinkedIn, Mastodon, X
Show Notes:
core.py
What’s New In Python 3.13
Free-threaded compatibility status tracking
🧵 Free-Threaded Wheels
Something missing or broken? PRs welcome!
Welcoming the CPython Developer in Residence
<p>Earlier this year, the Python Software Foundation announced the creation of the Developer in Residence role. The first Visionary Sponsors of the PSF have provided funding for this new role for one year. What development responsibilities does this job address? This week on the show, we talk to previous guest Łukasz Langa about becoming the first CPython Developer in Residence.</p>
<p>We talk about how the first months in this role are shaping up. Łukasz discusses the need to address the backlog of open issues and pull requests. He also talks about how he is working to help the project’s volunteers move their contributions forward. </p>
<p>We cover his PyCon 2021 talk about generating real-time FM audio synthesis in Python. He also shares his experience developing a similar synthesis engine for an embedded hardware project.</p>
<div class="alert alert-primary" role="alert">
<p><strong>Course Spotlight:</strong> <a href="https://realpython.com/courses/speech-recognition-python/">Speech Recognition With Python</a></p>
<p>In this course, you’ll cover the fundamentals of speech recognition with Python. You’ll learn which speech recognition library gives the best results and build a full-featured “Guess The Word” game with it.</p>
</div>
<p>Topics:</p>
<ul>
<li>00:00:00 – Introduction</li>
<li>00:01:51 – PyCon 2021 talk</li>
<li>00:20:54 – CPython Developer in Residence: Why did you want the role?</li>
<li>00:29:23 – Sponsor: DataStax Astra DB</li>
<li>00:29:55 – What were the expected responsibilities of the role?</li>
<li>00:35:47 – Working through BPO issues and GitHub pull requests</li>
<li>00:42:14 – Moving to migrate the systems</li>
<li>00:51:10 – Video Course Spotlight</li>
<li>00:52:26 – What trends can you see currently?</li>
<li>00:57:28 – Do you feel the amount of activity is increasing due to the role being in place?</li>
<li>01:03:46 – What skills would you look for in a person in this role?</li>
<li>01:07:26 – If there was a team of people how would things be different?</li>
<li>01:11:00 – How to follow along with the journey?</li>
<li>01:13:35 – Gathering and sharing data about the process</li>
<li>01:18:45 – What are you excited about in the world of Python?</li>
<li>01:25:04 – What do you want to learn next?</li>
<li>01:26:41 – Shout outs and plugs</li>
<li>01:31:36 – Thanks and goodbye</li>
</ul>
<p>Show Links:</p>
<ul>
<li><a href="https://www.youtube.com/watch?v=eKEjkB2bXK4">Generate buzz with realtime FM audio synthesis: PyCon 2021 Talk - YouTube</a></li>
<li><a href="https://polyend.com/medusa/">Limited Edition Medusa Black: Polyend</a></li>
<li><a href="https://lukasz.langa.pl/a072a74b-19d7-41ff-a294-e6b1319fdb6e/">I am the new CPython Developer in Residence</a></li>
<li><a href="https://lukasz.langa.pl/9f43819d-e9a5-4237-9ef6-a1f3b9a60b08/">Weekly Report, October 4 - 10: Łukasz Langa’s Blog</a></li>
<li><a href="https://talkpython.fm/episodes/show/331/meet-the-python-developer-in-residence-lukasz-langa">Meet the Python Developer in Residence: Lukasz Langa - Talk Python Podcast</a></li>
<li><a href="https://docs.python.org/3/howto/clinic.html">Argument Clinic How-To: Python docs</a></li>
<li><a href="https://www.python.org/dev/peps/pep-0594/">PEP 594 – Removing dead batteries from the standard library</a></li>
<li><a href="https://datasette.io">Datasette: An open source multi-tool for exploring and publishing data</a></li>
<li><a href="https://realpython.com/podcasts/rpp/80/">Episode 80: Make Your Python App Interactive With a Text User Interface (TUI)</a></li>
<li><a href="https://www.willmcgugan.com/blog/tech/post/doing-open-source-full-time/">Why I’m working on Open Source full time: Will McGugan</a></li>
</ul>
<p>Level up your Python skills with our expert-led courses:</p>
<ul>
<li><a href="https://realpython.com/courses/cool-new-features-python-310/">Cool New Features in Python 3.10</a></li>
<li><a href="https://realpython.com/courses/speech-recognition-python/">Speech Recognition With Python</a></li>
</ul> <p><a rel="payment" href="https://realpython.com/join">Support the podcast & join our community of Pythonistas</a></p>
AsyncIO + Music, Origins of Black, and Managing Python Releases
<p>Want to learn more about AsyncIO in Python, with an example where you can see and hear events being triggered in real-time? This week we have Łukasz Langa on the show. Łukasz has created a talk for PyCon 2020 online about using AsyncIO with Music.</p>
<p>In his talk he shows live examples of coroutines, gathering, the event loop and events being triggered to create a piece of music. We also talk about his role as the release manager for Python 3.8 and 3.9. Łukasz provides background on the origins of his very popular, uncompromising code formatter, Black, and the types of problems it can solve inside of an organization.</p>
<p>Łukasz previously worked for Facebook, which is where he started Black. He talks about recently moving back to Poland. We discuss his current work for Edge DB, building a new generation object-relational database.</p>
<p>Topics:</p>
<ul>
<li>00:00:00 – Introduction</li>
<li>00:01:32 – Łukasz’s background</li>
<li>00:03:22 – Leaving Facebook and moving back to Poland </li>
<li>00:05:26 – Starting work with EdgeDB</li>
<li>00:06:07 – What is Edge DB?</li>
<li>00:12:28 – AsyncIO + Music PyCon 2020 talk</li>
<li>00:18:56 – More AsyncIO resources </li>
<li>00:23:36 – Comparing the event loop to a game loop</li>
<li>00:27:12 – Coroutines and gather</li>
<li>00:30:00 – A conversation with Glyph</li>
<li>00:33:40 – Bigger ideas for the AsyncIO MIDI sequencer </li>
<li>00:35:41 – Using uvloop as a replacement for the built-in reference AsyncIO loop</li>
<li>00:39:13 – Thoughts on MIDI 2.0</li>
<li>00:46:30 – Origins of Black </li>
<li>00:53:51 – Black grows in popularity </li>
<li>00:58:35 – What is involved in being the Python 3.9 release manager?</li>
<li>01:02:22 – The Python language summit</li>
<li>01:07:44 – Is the beta on schedule?</li>
<li>01:09:27 – How did you get the role of Release Manager?</li>
<li>01:15:09 – What are you excited about in the world of Python?</li>
<li>01:19:02 – If you were learning Python from scratch, what would do differently?</li>
<li>01:22:18 – What is something you thought you knew about Python, but were wrong about?</li>
<li>01:26:05 – Goodbye and Thanks</li>
</ul>
<p>Show links:</p>
<ul>
<li><a href="https://www.youtube.com/watch?v=02CLD-42VdI">Łukasz Langa - AsyncIO + Music - PyCon 2020</a></li>
<li><a href="https://edgedb.com">Edge DB: The next generation database</a></li>
<li><a href="https://www.youtube.com/channel/UCRF82wX0EPwqvKMBwvB4fQg">Edge DB YouTube Channel - Learn Python’s AsyncIO - Series</a></li>
<li><a href="https://pycon.blogspot.com/2020/04/pycon-2020-online-launch_15.html">PyCon 2020 Online Launch!</a></li>
<li><a href="https://www.youtube.com/watch?v=cvwrkOnn9xo">code::dive 2017 – Łukasz Langa – Thinking in coroutines</a></li>
<li><a href="https://www.youtube.com/watch?v=4DkMQRc4Iuc">code::dive 2019 - Łukasz Langa - AsyncIO and Music - Earlier version</a></li>
<li><a href="https://www.pcgamesn.com/john-carmack-its-time-start-pushing-forward-these-higher-frame-rate-lower-latency">John Carmack: “it’s time to start pushing forward on higher frame-rate, lower latency” - PCGamesN</a></li>
<li><a href="https://en.wikipedia.org/wiki/Glyph_Lefkowitz">Glyph Lefkowitz: Wikipedia Article</a></li>
<li><a href="https://github.com/hundredrabbits/Orca">Orca: an esoteric programming language designed to quickly create procedural sequencer</a></li>
<li><a href="https://uvloop.readthedocs.io">uvloop: an ultra fast implementation of the asyncio event loop</a></li>
<li><a href="https://www.soundonsound.com/music-business/introducing-midi-20">Introducing MIDI 2.0 - Sound on Sound</a></li>
<li><a href="https://polyend.com/tracker/">Polyend Tracker: Break the pattern</a></li>
<li><a href="https://github.com/google/yapf">YAPF: Python code formatter from Google</a></li>
<li><a href="https://black.readthedocs.io/en/stable/">Black: The uncompromising Python code formatter</a></li>
<li><a href="https://www.youtube.com/watch?v=esZLCuWs_2Y&feature=youtu.be">Łukasz Langa - Life Is Better Painted Black, or: How to Stop Worrying and Embrace Auto-Formatting - PyCon 2019</a></li>
<li><a href="https://pyfound.blogspot.com/2020/04/the-2020-python-language-summit.html">The 2020 Python Language Summit</a></li>
<li><a href="https://winterbloom.com">Winterbloom: Synth Modules You Can Make Your Own</a></li>
<li><a href="https://www.starlette.io">Starlette: ✨ The little ASGI framework that shines. ✨</a></li>
<li><a href="https://circuitpython.org">CircuitPython</a></li>
<li><a href="https://github.com/ambv">ambv - Łukasz Langa’s GitHub</a></li>
</ul>
<p>Level up your Python skills with our expert-led courses:</p>
<ul>
<li><a href="https://realpython.com/courses/python-3-concurrency-asyncio-module/">Hands-On Python 3 Concurrency With the asyncio Module</a></li>
<li><a href="https://realpython.com/courses/cool-new-features-python-38/">Cool New Features in Python 3.8</a></li>
<li><a href="https://realpython.com/courses/writing-beautiful-python-code-pep-8/">Writing Beautiful Pythonic Code With PEP 8</a></li>
</ul> <p><a rel="payment" href="https://realpython.com/join">Support the podcast & join our community of Pythonistas</a></p>
#214: Dive into CPython 3.8 and beyond
See the full show notes for this episode on the website at talkpython.fm/214
#185: Creating a Python 3 Culture at Facebook
See the full show notes for this episode on the website at talkpython.fm/185
#180: What's new in Python 3.7 and beyond
See the full show notes for this episode on the website at talkpython.fm/180