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.