Chapter 3: Object Model and Binding¶
This chapter explores Python's object model in depth, covering how names bind to objects, CPython implementation details, numeric and string internals, and practical patterns for writing Pythonic code.
3.1 Language Foundations¶
- CPython vs Language Spec
- Key Terms Glossary
- Everything is an Object
- Methods and Attributes
- Python Execution Model
3.2 Python's Object Model¶
3.3 Names, Binding, and Assignment¶
- Formal Binding Model
- Assignment Process
- Assignment vs Mutation
- Identity and Equality
- Unpacking and Destructuring
- Namespace Hierarchies
- Namespace Implementation
- Complex Binding Scenarios