Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pointers? In My Python? It's More Likely Than You Think

EuroPython Conference via YouTube

Overview

Explore the intricacies of CPython's memory management and object handling in this 26-minute EuroPython 2021 conference talk by Eli Holderness. Delve into the world of pointers in Python, understanding the difference between 'is' and '==', the necessity of deepcopy, and the nuances of object lifetimes. Discover what pointers are and where they appear in Python code, learn about object IDs and their significance, and understand how CPython manages object lifetimes and garbage collection. Gain insights into reference counting, cyclic references, and the inner workings of the garbage collector. Suitable for Python beginners and experienced developers alike, this talk provides a comprehensive look at Python's memory magic without requiring prior knowledge of C programming.

Syllabus

Introduction
Pointer aliasing
Deep Copy
Tuples
Object IDs
object lifetime
reference counting
cyclic references
garbage collector

Taught by

EuroPython Conference

Reviews

Start your review of Pointers? In My Python? It's More Likely Than You Think

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.