Skip to content
Opensource internals
  • Posts

Property

How CPython Implements Descriptors (property, classmethod, staticmethod, and generic descriptors) in C

Oct 20, 2026 8 min read Jay Hubbert

Descriptors are the mechanism behind property, classmethod, staticmethod, slots, and most of the attributes you read off classes. In CPython they are not a separate object …

PythonCpythonInternalsDescriptorProperty

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·