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

YouTube

Pointers in Python: Implementing C-Style Memory Manipulation

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the inner workings of Python by implementing pointers, a feature typically associated with C/C++. This tutorial delves deep into Python's internals, offering a unique perspective on language design and object manipulation. Learn to add new syntax to Python, including '&' and '*' operators for address-of and dereference operations. Discover how to create custom builtin objects and understand the internal layout of Python objects. Gain insights into object lifecycle management, interaction between custom and existing objects, and the intricacies of Python's garbage collection mechanisms, including reference counting and cyclic object handling. Enhance your understanding of double underscore methods and their internal implementations. While pointers aren't practical in Python, this exercise provides invaluable knowledge about the language's core functionality. For optimal experience, Docker installation is recommended. Access accompanying slides for additional reference.

Syllabus

Tutorials - Yan Yanchii: Pointers in Python

Taught by

PyCon US

Reviews

Start your review of Pointers in Python: Implementing C-Style Memory Manipulation

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.