12. Core Python. Custom Attributes and Descriptors (Austin Bingham & Robert Smallshire, 2021)
1. Course Overview:
00:00:00 __ 1. Course Overview
2. Object Internals:
00:01:46 __ 01. Version Check
00:02:06 __ 02. How are Python Objects Represented
00:08:26 __ 03. Dynamic Attribute Initialization
00:13:08 __ 04. Custom Attribute Read Access
00:16:30 __ 05. Preventing Attribute Write Access
00:17:25 __ 06. Preventing Unwanted Recursion
00:19:59 __ 07. Preventing Attribute Deletion
00:21:35 __ 08. Customizing Attribute Storage
00:26:29 __ 09. Using vars() to Access __dict__
00:27:52 __ 10. Intercepting All Attribute Access
00:32:32 __ 11. Customizing Attribute Writes
00:37:18 __ 12. Built-in Protocols Bypass Attribute Lookup
3. Class Internals:
00:39:57 __ 1. Class Attribute Lookup
00:42:28 __ 2. Simplified Attribute Lookup Algorithm
4. Optimizing memory usage with slots:
00:44:13 __ 1. Trading Size for Dynamism with Slots
00:49:06 __ 2. Slots Lookup
5. Descriptors:
00:50:14 __ 1. Reviewing Properties
00:53:31 __ 2. Unravelling the Property Decorator
01:00:04 __ 3. Implementing a Descriptor
01:07:45 __ 4. Storing Instance Data
01:12:55 __ 5. Accessing Descriptors via Classes
01:15:45 __ 6. Setting Descriptor Names
01:17:49 __ 7. Data Versus Non-data Descriptors
01:24:00 __ 8. Summary