Presented by:
Elizaveta Shashkova
Many people like Python for its simplicity and beauty. But every statement in Python, even the simple one, produces a lot of events during the program execution. These events are usually hidden from a user, so it helps developers to skip low-level implementation details and focus on bigger things.
At the same time many parts of this hidden information are very useful and interesting to examine. The good news is that the Python Runtime allows to retrieve it really simply, so there is no need to configure additional libraries or pass additional parameters to interpreter. Everybody can do it right inside their Python code.
During this talk we will learn how Python allows to inspect current program state during the execution. We will learn about Python memory model, variables, frame objects and about useful information they store. After that we will discuss several powerful tools which are based on the runtime information and which can be very helpful for any Python programmer in their everyday life.
Slides: https://speakerdeck.com/elizaveta239/...
Examples source code: https://github.com/Elizaveta239/PyRun...
Watch video Talk: Elizaveta Shashkova - The Hidden Power of the Python Runtime online without registration, duration hours minute second in high quality. This video was added by user PyCon US 22 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,609 once and liked it 199 people.