from Hacker News

How Python object system works

by r4victor on 12/6/20, 10:42 AM with 1 comments

  • by r4victor on 12/6/20, 10:42 AM

    Hi! This is part 6 of my Python behind the scenes series. Each part of the series covers how some aspect of the language is implemented in the interpreter, CPython. This time we'll focus on the Python object system. You'll learn:

      - What Python objects and types are and how they are implemented.
      - What slots are and how they determine the behavior of objects.
      - How slots are related to special methods.
    
    I'd be glad to get your feedback and answer your questions.

    Thanks!