Talk Python To Me cover image

#25: Effective Python

Talk Python To Me

00:00

How to Debug Memory Allocations and Leaks in Python

If you just take a list and print it, you'll get that representation for all the items it contains. It basically is evaluates back to the Python statement that would have taken to create the same list. So it's a really nice way to do kind of interactive debugging session with your own code. That's cool. And the final collaboration thing that I actually hadn't heard of was you can understand memory allocations and leaks with something called trace malloc. Yeah. Absolutely.

Play episode from 47:06
Transcript

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