Skip to content
Python 3.14 with Łukasz Langa episode artwork

Feb 10, 2026 49 min

Python 3.14 with Łukasz Langa

from Software Engineering Daily Hosted by softwareengineeringdaily.com

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: [email protected]

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Python 3.14 with Łukasz Langa

0:00 49:30
of matches

Transcript Auto-generated, may contain errors

Python 3.14 is here and continues Python's evolution towards greater performance, scalability, and usability. The new release formally supports free-threaded no-gill 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. Lucas Langa is the C Python 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.

This episode is hosted by Sean Falconer. Check the show notes for more information on Sean's work, and where to find him. Lucas, welcome back to the show. Happy to be here. Yeah, absolutely. So we spoke roughly a year ago about the Python 3.13 release. I guess,

like, what's new in your world since we've all spoke? Well, not much change in terms of my employment. A lot has changed in Python, and also as a release manager of Python, just a few days back, I released the last Python version of my own. I've been a release manager for Python 3.8, which has been end of life last year, and 3.9 that has just reached end of life with the end of October. So it's a bit of a milestone, I guess, you know, you look back at the last seven plus years doing this.

I'm still involved in the release team since I'm doing installers for Windows, and I'm helping with the Mac installers as well. So I'm not entirely going to be gone from doing releases, but it is like an end to a part of your life when you signed up to be a release manager for two versions that are now officially not supported anymore. So that's like a personal change, I guess, here in the yeah, like we've since had like the big Python in Pittsburgh, where we still work like very hard on Python 3.14, but since we forgot about it, it's already the old version for us core developers, because now we are very busy working on Python 3.15, which is going to be the one that is going to be released the next year. 3.14 went out in October, early October, and yeah, it's in the end of users right now. So I guess that's what's been keeping me busy for the last year.

Okay, I think in terms of like all these changes are happening in the world of Python, I'm just curious, since Python has seen such activity, I think in particular to people building on top of AI models and being used to build like AI applications, is some of the catalyst for the changes coming from there? Or are these just, hey, we have roadmap, we know we need to make certain improvements and updates and it has no bearing on what's going on in the world of AI? There is no secret roadmap to where Python is going. It is largely informed by what is happening around us. So obviously AI has a decent influence over how we think about Python, because now not only is Python crucial in developing AI solutions, it is like essentially used in any company that claims to be AI related somehow, it is literally unheard of not to have Python involved in that somehow.

But also, Python is the language that AI writes. So very often when you don't specify which language you would like for your solution and you ask Cloud Code or chat to help you with a problem, like it's going to default to Python. So those things are on our mind, obviously. However, just like my ex-employer used to say, like code wins arguments. So very often the way we function is when a people come with suggested solutions to problems that they're having themselves.

And whether this is a contributor who is an individual or a group of people may be inspired by problems that they're large, employer has or whatever, we treat all of those things seriously. And those inform what the next version of Python is going to look like. So if you do want to have input in how that works, you can simply by contributing simply by being part of it. So Python 3.14 is here. I guess if you had to describe the theme of the release, what would it be?

So finally, now, there's many changes. Some of them are really big. Some of them are tiny, and yet maybe cute enough to mention. But the thing that I personally think is the long-term most crucial change in Python right now is that in Python 3.13, we shipped with this experimental feature that allowed people to disable the global interpreter lock. The global interpreter lock is the thing that assures that everything is going to stay correct and not crash within inside your interpreter C code when it comes to the internal data structures of the interpreter and so on. But it also is a big scaling

bottleneck. So in 3.13, thanks to Sangroz and like the big PEP 7.03, we shipped like an experimental support for making the GIL optional. In 3.14, this mode of operation is now supported. In similar to default, you have a specific special version of the interpreter called Python 3.14 T. And that is also like you can see this in your site packages. There's going to be a 3.14 T directory like there's

TSOs or Dialibs on Mac OS. So those are separate ABI. But we are now saying out loud that this is no longer an experiment. We intend to support this feature, which allows the scientific community, which is extremely interested in this, as well as others to slowly or hopefully not so slowly adopt this and make it the default like a release or two from now release, or maybe like super optimistic, like probably not like two or three releases from now would be great. The difference between running the traditional version and the new version is not very easy to note unless you do have an application that already uses threads. So in some cases, you might need to introduce some threads to

applications that didn't have them before. But in other cases, you will be able to see wins right away. Like funnily enough, we do have in our async IO test suite, we have some thread will execute a test and some other tests actually assume that there's going to be some threading going on. So we've seen performance improvements with free threading on async IO with no changes to async IO before we did any changes to it. Now, obviously, there's like a lot of tuning inside the interpreters of 314 is actually fantastic for free threading. It's reached close to single threaded performance

of the version with the single gobbin triple lock, but it scales. So if you have multiple cores, and even your phone does like everything now has multiple cores, now your application will be able to utilize this like much more fully without you having to resort to multi processing by hand. So this obviously is the sort of theme for me that we are supporting this now, but I don't think it's going to be the theme for most users yet. Since we now pretty clearly target library maintainers and sort of early adopters to essentially prepare the ground, prepare the community, the third party packages and everything for external usage with free threading, which I strongly believe is the future of Python. It's something we should have done a long time ago, but better now than never.

And it's shipped now, it delivered on its promise. So I highly recommend you to test it if you have an application that might actually benefit from it. And it has this relate also to the support for multiple interpreters from the standard library. So those are specifically two separate efforts and to a small extent, fortunately, they were competing since the entire promise of like free threading essentially says you can start threads now in Python, which means now they can compute in parallel, but they share data, they share everything. And this is good and bad. It's fantastic because

you don't have to serialize and deserialize data that you want to share. But it is also terrible because you now share everything, including things that you might not realize that you're now mutating from two separate ends of your program at the same time. And now you're introducing race conditions, you're introducing saddle bugs that might be sometimes tricky to debug. So free threading is a sharp tool, and you might catch yourself with it. Whereas some interpreters inside the same process, they function with the philosophy of sharing the same process, which means they will still share the same limits on the operating system on like how many processes you can spawn and how many file descriptors they can open and so on and so on.

But the idea is that they will not be sharing any data unless actually explicitly allowed. So immutable data might be able to be reused across interpreters with no or little like serialization, like with little orchestration, but regular lists and regular dictionaries will just not work. You cannot just use them from two interpreters at the same time. They are controlled by one. And you have to have some now smart and efficient way to exchange data between them. We don't really have

much in terms of library support for making that simpler than it would be with multi processing where you already pick up and unpick up data because you're literally passing it to a different process. So sub interpreters really are about isolation and this is the core feature, whereas free threading is sort of about the opposite about being able to scale your application in a better way than multi processing because you don't have to serialize the serializing thing because you are sharing everything. So they're kind of polar opposites and I'm pretty sure they will be used for different use cases. So let me give you an example. So free threading is something that is going to be useful when you have some huge data set and you want to split computing the result for this huge data set among like many smaller pieces. So before we always just

okay, spawn multiple processes and sort of pass the data somehow. But now essentially the process that passes all this data to every worker is the bottleneck, right? Because that process is one and it orchestrates all the work. And then when the results are computed, you have to pack the results again. And again, the orchestrated process is the bottleneck again. So with free threading,

that stops being an issue because you don't have to do this entirely packing and packing process. So that's like the perfect scenario for sharing data. And for isolation, for example, imagine that you have some digital audio workstation, you have like this sort of ability to instantiate virtual instruments and virtual effects, they can be written in C++ in any other programming language, then that can do Python. So all of them are in fact running in this process space of this digital audio workstation. If you instantiate this, oh, it's going to start some code and it's going to be running. So that's great. But what if you write an Python and start seven instances of the same

effect or instrument before sub interpreters before this isolation, that would not be possible. Like literally you would not be able to do this because like you would crash the process since the second effect or instrument that uses Python would write on top of the same data structures in memory that the first interpreter already used and that would be terrible. So now with sub interpreters, you can isolate them. So those plugins can live entirely independently, not even know about each other. They can be entirely isolated from each other. So different use cases, they are now with the

development stage that we are right now, both able to scale but for different reasons. And I think for different use cases with the sub interpreter, like what is the advantage there versus spinning up completely separate processes? So like the digital audio workstation is one example because that environment will literally just not allow you to just spawn multi processes since like it is controlled such that the processes don't run away. Like if you have any sort of containerization, like for example, for a Mac App Store applications, you can disable this ability for processes to just randomly spawn sub processes and more lockdown environments, like for example, the iPhone, if you run an iPhone application, it literally cannot start a sub process. This is not an option. It is not possible. So for this use case of interpreters will

allow you to have an embedded Python interpreter with your editor or not taking application or any other app where you will allow users to script their iPhone application and that's going to work. It's going to be fine. Whereas just showing out to a Python sub process would literally be impossible. That's not allowed by Apple since again, those processes could run away and just drain your battery when the main application died. So there's plenty of related environments like with virtualization, containerization that actually also want the processes to stay, single processes and not just proliferate with multi processing. Plus, as I said, we are still at the

beginning of the road for internal reuse of our data structures, but we're already starting with that. If you stick to a subset of immutable data structures in Python with new converters, concurrent dot interpreters, you can already see how you can pass data between interpreters if you want to. Some of that is already pretty efficient. We're going to build on top of that and then the advantage on top of multi processing is going to be pretty evident that you can safely share immutable data without copying. Whereas with multi processing, unless you're using shared memory, which is yet another kind of worms, in multi processing, that's impossible. You need to serialize

the serialize everything. And I wanted to talk about also this new feature around template string literals. I guess like, what is a template string literal? And what problem is it solving that you can already do with that strings? Cool. So another case where like 314 is like the T release, we had

Python 314 T meaning free threading, but here T strings are template strings. So template strings are not strings, actually, they are a very convenient notation for creating template objects. They look like F strings because you are using braces for interpolation. But what that interpolation is, is argument to the template objects. This sounds a little weird and confusing. But if you just think

about the use case for it, which for example, in the JavaScript world is like being able to put HTML in your JavaScript code with backtext, right? You can just put like HTML templates. And with some brace magic, you can compose components together into something more complex. So now with T strings, this is also called in Python, you use T strings to think like you were like still in a string, but what you're getting is in fact, an object that later a library can introspect and can build on top of. So you can have HTML processing that will actually put more HTML for you there, or it will compose components together, or it will do user data checks, security checks with some string validates or not, whether it's secure or not, and so on and so on. This can be used for

SQL, querying, and all other sort of use cases where you want to bring a different sort of notation, language into Python into the same script, and you would want to provide it some structure that later on, your code wants to build on. You could do this before with regular strings. The problem with that would be that every time you wanted to make a tree out of your random raw string, you have to parse it. So this would be very inefficient because every time you're passing it back to the user, that template is now a regular string, you're going to make changes to it, they're going to wrap something in another string, and your code needs to be the parser again. Whereas here, it's the Python at compile time that makes the object actually nice, and the notation is already actually constructing Python objects within the bytecode. So it is very efficient. It looks to the user as if you're just

working with Qt strings that are just HTML or SQL or whatever else. So it is, I think, a pretty pointed feature where it is not going to kind of rule the world of everything around you, you're not going to be formatting strings with it. That's not the use case, actually. So the reason why we have it is for templating. So for anything that you imagined, like you were using strings before, and those strings were somewhat lacking because it was too easy to just make it wrong, or the parsing was just making runtime slower. Now with tstrings, it is just a way for us to maintain a very user-friendly

notation, but to allow for efficient computation with the objects being ready for library use. So the tip that explains the feature is actually excellent. It has to convince people that this sort of feature is, in fact, I don't know, preferable, that it is desirable. So it is doing a pretty great explanation of why we want this and how the nitty-gritty details of it work. I do expect that most people using tstrings will not have to think about those intricacies because the library that they're going to be using, whether this is going to be some future version of Django or some database interaction library, they're just going to say, oh, we have all those objects here, but if you want to use a raw query, use a tstring and put it here as arguments to this method. And people are just

going to do it. They're not going to think about what is happening on the other side of the library, that the library is now thankful to get nicely structured objects instead of a silly string that they need to parse themselves. One example where that parsing needed to happen before, and it was sort of always annoying, was when in SQL libraries, sometimes you pass some arguments to a SQL query from the user. So you don't want to pass them literally as part of a string, because what if it's just bobby tables, it's some SQL injection, right? So we're just going to pass the query first, and then the arguments, one, two, three, four, separately, separate arguments to the method. So

that sort of discipline had to be maintained, because otherwise, oh, like you did something wrong. So now with tstrings, you can just pass a t-string and just pass those arguments where they belong in the query. So in that way, like it is more readable to you because you know what's going on when you're reading this code, it is sort of preferable to look at it that way. But it is still safe in the same way, because the library can check those arguments it sees which part of the query is a past argument is an interpolated value. So it is just like a incremental improvement of what we have been doing all along, but it can compose. So you can put templates inside templates inside templates and

like build an entire tree of that. And that's where the HTML example comes from. So I believe that in the end, what we're going to get is some very pointed use, just like with assignment expressions, but it's not going to take over the world, not like fstrings, but still a very, very welcome addition to Python. Is there any performance implications? So a little bit inside the compiling stage. So

when you're first starting your application and it's creating qic files from your source code, then we're doing additional work because we're actually translating your string into those objects that we're now passing to functions, right? So we're not actually passing strings, we're passing template objects. But that is the single piece of parsing that we need to do. And your code at runtime later does not have to do this. So in fact, the performance implication is positive for almost all uses. So it should be faster to do it that way than the random like manual string parsing that we did

before, a least of which because the template strings parsing is part of Python, now it's in C is highly optimized, whereas a lot of the parsing that you would do on your own strings in Python application, would just be done in Python. So I'll just drop into that lower level of computing already saves you quite a few CPU cycles. So if anything, I suspect that people will welcome this as a performance improvement and not the other way around. I wanted to also talk about the way type annotations are handled in making sort of this evaluation deferred. Can you explain a little bit about like what all that means and how is it different than what was being done in Python 313? Yeah, this is all personal.

So in spite of the PEPs that were actually approved and now are implemented, are fixing like a PEP that I wrote and it turned out not to be a good enough solution for the general case. So shortly the problem, when we first introduced type annotations to the language, they had the pretty obvious constraint that they were still living among all the other objects inside your Python script. They were the same object like any value that you were using in your Python application. So that meant that if you had like a module level function that took an argument that was some class, I don't know, animal, right? And you wanted to annotate it that oh, this function takes an argument of the type animal, you had to have this name ready at that moment when that function was defined. But what if this class animal was defined below your function? Well, that's not great

because that class does not exist yet. So for this reason, we had to support forward references. And those forward references were pretty annoying to spec like to write down because you had to use strings. You have to just say, I cannot use this nice object because the name animal does not exist on line 30 because the class is only defined on line 70. So I have to say open string bracket, animal, closed string bracket, doesn't great, right? Like a switch string quotes,

string quotes. So the solution that I initially came up with in a PEP 563 was that how about we do it differently and just make all annotation strings. So you have to actually write the quotes, but in the end, they will be quotes. So like, you know, in terms of meaning, right? So even if you just say animal in your source code, in the end, this will just be column a string in under annotations of that function. This solved this problem and it allowed for a bunch of other nice features. For example,

that was in times of Python 3, 7, whereas in Python 3, 9, we allowed built in collections like list or iterable or a topple to be generic, which means you could just say lowercase list square brackets off string, right? So you don't have to front typing import uppercase list. You could just say, oh, there's a built in list. So I'm just going to say this type argument is lowercase list of string and everybody's happy. However, well, that didn't work with Python 3, 7. But if you just said from

future import annotations, you could use this already because it was a valid Python syntax and it was a string anyway. So Python did not object that actually lists in Python 3, 7 couldn't be indexed. It didn't care. And my by understood it, everybody was happy. And then in 3, 10, we allowed for typing unions to be created using the pipes syntax. So instead of saying uppercase optional off int,

you could just say int pipe none. So int or none, right? That is a much nicer notation for optionals or any other sort of union. Like if you wanted to say it's either int or string, you could say int pipe string, it in or string. That's a nice notation. And then Python 3, 7 supported it

in air quotes because with from future import annotations, you could just turn everything into a string and that was great. However, turning everything into strings actually, I don't know, like limits, what you can do with the strings later, because you cannot so easily find what that string meant in the moment where it was defined later. So what I mean by this is that if you are looking at a notation of your function that takes an argument that is animal object, that is animal of what? Like where does animal come from? What does that word mean? Like what module does this

class come from? If you look at it from a different module later on when the application is running, you didn't know. All you knew is that there's a string in this animal. And it turns out that there are some really heavy users of runtime type annotation introspection like pedantic. And they were pretty upset, at least of which because like a popular pattern, it turns out in pedantic applications is to create classes inside a function. So literally those classes don't exist later on on module level

where you can get to them in any sensible way. So if you just have a bunch of strings that say like this is some request, this is some order, this is some other type of class, how are going to refer to this class? It's not important. It was a local insight of some functions. So like Samuel Colvin was pretty upset about this not being actually possible anymore from future import annotations with a group of other people who actually depend on this functionality. They can raise the

objection to like, hey, this approved PEP 563 actually is now breaking a use case that we depend on. So we stopped actually making this future the default. And for a while, we're just looking at a new solution and Larry Hastings with PEP 649 actually came up with it, which is to still defer evaluation. So all this forward reference stuff can happen, but to do it by just implicitly, instead of turning things into strings, you're implicitly turning them into lambdas. So they're essentially kind of the third evaluation functions that the first time you ask about them, then they will evaluate, but they will evaluate in the context that they were defined in. So even if you had a

bunch of classes that were locals, we still hold on to that frame, we still hold on to those locals. So even like half an hour later, when that function call was long gone, you can still ask for under annotations from that particular piece of code for pedantic. And it will tell you, oh, that's this animal doesn't exist anywhere else in your application, it was just locals. But you can still refer to this particular real class. And with this functionality, this entire problem is in fact solved in the most correct way possible. It has some edge cases that were a little nicer with PEP 563,

but I think the compromise, the end result is well worth it, because now the flexibility of annotations is way better. Obviously, the devil was in the details. And even though PEP 649 is quite old at this point, it was created four years ago, four and a half years ago, it took a while for the implementation to actually get to the level that was required to actually be part of Python. And and Yala Zistra actually tackled with the problem. And when he did, he discovered that there's actually a lot of little and larger edge cases to be discussed and to be decided on. So instead of just making

changes to the already approved PEP 649, he wrote another one, 749, which explains all those things that needed to be specified additionally for the implementation. And with that for Python 314, this is now the new default future. You don't have to import anything from future. You get this behavior by default, because the wonderful thing about it is that it is essentially almost entirely backwards compatible with the previous default behavior. We still have the from future import annotations, if you do rely on things being strings, but unless you use this, you're going to be using the new automatic behavior of turning everything into Lambdas, which is good enough indeed for forward references and for a bunch of other cases, which allow runtime use much more than my PEP ever did. And then for this, what is the like impact to existing code that

was using things like the future course? So this is like a good question. So like the future import is still there. It is not entirely clear what to do with it. Like the PEP 749, like one of the things that is needed, like the fine was like, what are we going to do with this future import?

Future imports were never feature flags. They were just on a way of enabling a feature that is going to become the default in some future version, hence the name, right? And now you have a future import that will never become the default in a future version of Python. So what to do with that? And PEP 749, like essentially pointed on this application, it says like, well, there's still legitimate cases like to have this. Plus it already works. So there's very little cost for us to keep

it. So there are some discussions on our official forum about this. But currently we don't intend to remove the future import and we don't intend to change it in any way. We only signify that like, look, in Python 314, there's a better default. If you just don't do anything, the situation is already better. The problem with us is that we are living a little like, not intended in the future because

the core developers just released Python 314, we already working Python 315. So it's easy to lose track of the fact that like the most popular versions are still somewhere around like 311 or 312. So before people actually overwhelmingly reach 314 where this new feature arrived, it's going to be still a couple of years. And before people can safely say that the libraries I maintain no longer need to be compatible with Python 313, well, that's an even longer proposition. Remember, I just released Python 3.9. That was the last ever version and just declared Python 3.9 and of life. And this was, in fact,

moment that a lot of people were waiting for the life is a super old version. Well, because if I declared it officially dead, then library maintainers could use this as a reason to drop support for Python 3.9 in their libraries. Well, it's not officially supported. So we also don't support it anymore. If you want to still use Python 3.9, use an old version of our library. The newer versions will require

Python 3.10. So we are at 310 right now of support for like the majority of library maintainers. So before we get to that point where the oldest supported version for libraries is going to be 3.14, that's still close to five years away, which is why until at least Python 3.18, 3.19, we are very unlikely to be able to remove the future import. So if your code already has it, or if you see it in the wild in your dependencies, don't worry about it. It will just not stop working like, you know, next year or in two years, like it's still going to be around for a long time.

But eventually, yes, we will get rid of it. But we will be very careful not to do it abruptly. When you introduce something new that sort of replaces an old way of doing something, how long before you essentially take the old way of doing things out of support? So the percations is in fact like a pretty, I don't know, important topic on our minds right now. So historically, like the only thing that we said was that there is a PEP that specifies this.

If I remember correctly, that's like three, eight, seven. And PEP 3.87 is our backward compatibility policy. And it has like, you know, kind of the broad strokes of like, you know, don't break people, you have to warn them, you have to like, you know, give them enough time and whatnot. But this PEP was written in times where our release schedule was really like, you know, when we released when we were ready. So we were roughly releasing every 18 months, but sometimes it was closer to two years.

So saying that what you need to do is you remove the feature, you first create a pending deprecation warning, which means this is going to be deprecated in the next version. So this pending deprecation warning is released today. And 18 months, there's going to be a deprecation warning. And then 18 months from there, which is at least three years, but probably like four or five, at that point, you will be removing the feature. So that's what originally PEP 3.87 told us. So like,

hey, at least wait two releases, you need to recreate a pending deprecation warning and then the deprecation warning and then remove. So it was pretty clear when we switched to the annual recycle that this accelerated the backwards compatibility policy kind of as collateral of our, you know, increased release cadence. And that was not really intended. Like we still wanted to have our support windows as long as they were before. So since then the PEP was updated to just say that, you know what, like, you can actually extend this deprecation timeline to as long as five years, because there's really not much in terms of maintenance cost most of the time. If there is significant maintenance

cost to maintaining both behaviors, then we might just have to be more aggressive saying, like, you know what, like this old thing goes away. Like if you still need it, use an old version of Python, but it's very unlikely. Like we very strongly avoid this. So it's more close to five years. But it turned out that sometimes even with five years, which are gaining from cleaning up things, it's just the spilling of things being clean, but you didn't really fix any problems for any real users. Nobody's

thanking you for there to be fewer methods on some object. Like it doesn't really help anybody. So now very recently, PEP was also updated to introduce this notion of soft deprecations, where we can now just say that we deprecate on particular behavior only in documentation. It's not even a warning that you're going to see, like, at runtime, where does deprecating it saying there is a better way of doing it, use the better way. But there's very little kind of advantage to breaking user's code. So well, in those cases, just leave it there forever. And maybe this is actually

what's going to happen with the future import annotations, because it is not a significant cost for our maintenance. PEP 749 explains what I told you before, like at some point after 3.13 goes end of life, we will deprecate from future import annotations. But even then, it is not clear whether we will actually be removing it very quickly or we'll just leave it. Similarly, the global inhibitor lock. Now, the build that allows you to disable it sort of suggests that in some future version of Python, this will be the default. And that's true. But whether we will

actually remove the global hyperlock entirely is not actually the decision that we made. Like, probably it makes sense to just keep it around forever, because fundamentally, it is not a huge maintenance cost at this point. And it gives you this security network, the safety network of, like, falling back to this old solution when you are importing the extension that is old, and it doesn't know how to behave in this new world of free threading. So yeah, backwards compatibility, definitely consideration that we're treating increasingly seriously. Like, after the Python 2 to 3 transition, we knew that we need to. But now, even with smaller breakages,

like, we really think hard to avoid them. So I know there's a lot of other things that are discussed in the 3.14 release, but what is one of the other features that you think is worth bringing up here, that you're interested in, or you think other people who are involved in the Python community should know about? Well, there are things that are actually cool, and the things that I am super subjective about, because I worked on them, right? So let me start with the thing that is actually super cool, and I had very little to do with, which is the safe external debugger interface for C Python. Like, you can read the very long PEP, and it's very impressive by long story short, what you can do with Python 3.14 is you can PDB into a running process that is remote to you.

It can be in a container, and you can still PDB into it. It can be on machine somewhere over the network, and as long as your network configuration, your firewall and stuff allows it, you can PDB into that networked machine and debug a running process, and you don't have to restart it anymore. Like, you can just debug now things that are remote to you and they're running. So if they hang on something, you can now learn why. You can kind of PDB into an application and debug it as if you were starting it on your own local box, which sounds like, okay, cool feature, but is it so foundational? Like, I think it is pretty foundational because this ability to just be able to find

the reasons for strange behavior is excellent. We already thought very hard, like in Pablo can spearhead this, for instrumentation to be able to just look at foreign processes. So if you had strange behaviors of some memory leaks or CPU being hogged by a thing, you could run a profiler on your process and see where does the CPU cycles go? Where does this memory go? Like, you could check those things, but very often, it was not enough because the only thing that you could see is like, okay, there's many calls here or, okay, this thing declared, like, well, actually use this much memory, but you didn't know why. And now actually having a debugger,

which means you can issue commands, you can execute code on that remote Python process. That is amazing. That is, I think, like the kind of clear feature that regardless of whether you're into free threading or not, regardless whether you need like kind of SQL templating or whatnot, regardless of whether you're happy like that now, like, for your references and your type of notations work automatically, being able to debug a process that is already running, I think is pretty cool. So that I have to kind of mention first. But then something that I actually did work on with theory and Pablo is additional visibility into async IO applications. So all those

things that I told you about profilers before that we could already look into an application that is running and see what Python and C functions at the same time are running right now in that application. That is pretty cool. But what you couldn't really see is what is async IO doing at the time, because you long story short, the way asynchronous programming works is you have some event loop and the event loop runs a particular piece of your coroutine only one at a time, right? Like the entire point of it was that it maximizes the usage of a single thread. So instead of wasting your entire thread on waiting on the network, you can run other things at the same time. That's

great. But you only run one at the same time. So if you just run a profiler on that sort of application, which you're going to see is at any given point, there's only one thing running and it's running on top of the event loop. So you don't see the causal chain on what is awaiting on what, like, how many tasks are there in this application? Like, what is actually the cause of those requests taking a second? Like, what is the thing that is breaking the application? So now with Python

314, you can see a tree of tasks and you can see who awaits and whom, again, on a remote process, you can just direct async IOPS at that thing, and it'll tell you what is this process busy with. And that, I think, again, it's not really like a feature that allows you to import a flashy thing for your code, but it's something that is going to make living with your current applications much easier, because it's also the way in which you can just see what is going on much better, especially that with async programming, just print debugging is not so easy either, since there's many things happening at the same time. So yeah, like a PS3 that I worked on, I think that is cool as well. And the third thing, like, I'm sorry, sort of like, you know, I'm being my own drum here, but I have to say, like, I think it's pretty cool that now we have syntax highlighting in the default rebel. So if you just start Python and you just start typing in the commands, like, having them in colors is just like a cutesy feature that like you will not think twice about, and you're just going to be like, oh, I guess that's cool. That's exactly the reaction that I

would expect. But believe me, when I say when you then revert back to 13 for any reason, and you see that there is no syntax highlighting, it almost feels like it's broken. It feels like you're going back in time to, you know, some past that you no longer want to go back to. It's like, it feels the experience, which is worse. So it's one of those sort of usability features where the colors just provide you with an additional dimension in which you can look at the code that you're typing in. And it just, I don't know, it provides some additional polish that I think makes the language

feel better. It does for me. So those are the three features that I think we still definitely should be covering, but just many, many more. Yeah, yeah. Awesome. Well, I think we covered a lot

for those that are missing, you know, check out what at least notes for to learn more. There's a ton of stuff available on this release. And Lucas, thanks so much for coming back on the show. Absolutely.

Frequently asked questions

How long is this episode of Software Engineering Daily?

This episode is 49 minutes long.

When was this Software Engineering Daily episode published?

This episode was published on February 10, 2026.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Software Engineering Daily episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.