The Real Python Podcast cover image

Fostering an Internal Python Community & Managing the 3.11 Release

The Real Python Podcast

00:00

Adaptive Interpreter in Python 3.11

In Python 3.11, if a function is executing enough times with the same input types by integers, instead of that generic addition, we will change the code or the function to do a special fast addition forintegers. Instead of two integer, now you can suddenly pass two floats or one float and one integer or two classes. So this means that the test suite is not checking all these things properly. It needs to run a certain number of times before it finds out what's going on. And so there have been lots of bugs in tests where people are unable to move forward because they don't know how to get around them.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app