This is the 3rd video on the series on the CPython Type System Internals series. In this video we discuss how can we emulate the behaviors of inheritance and polymorphism in C using a couple of simple tricks with structs.
This is important to understand before we start looking at the CPython type system implementation because it builds on top of these tricks.
Next Video
In the next video, we will explore the CPython source code, and we will start by understanding how it defines the type system interface which is used by the rest of the runtime.
Decoding PyObject and PyTypeObject in CPython
Welcome back! This is the 3rd video in the CPython Type System Internals series. In this video we finally start looking at the CPython source code and understand how the type system interface is implemented. This video focuses on explaining the structs PyObject and PyTypeObject, which are the building blocks for the whole CPython type system. The PyObjec…
Share this post