13. Core Python. Metaclasses and Allocation (Austin Bingham & Robert Smallshire, 2022)
1. Course Overview:
00:00:00 __ 1. Course Overview
2. Instance Creation:
00:01:45 __ 1. Allocation of Objects
00:07:01 __ 2. Allocation with __new__
00:10:24 __ 3. Customizing Allocation
00:18:04 __ 4. Summary
3. Metaclasses and Class Creation:
00:19:30 __ 1. Class Creation and Metaclasses
00:22:52 __ 2. Class Allocation and Initialization
4. Metaclass Details:
00:32:25 __ 1. Metaclass Keyword Arguments
00:36:14 __ 2. Metaclass Method Visibility
00:38:19 __ 3. The Instance Constructor
00:42:05 __ 4. Phased Initialization
00:47:14 __ 5. Custom Namespace Dictionaries
5. A Metaclass for Bitfields:
00:52:42 __ 1. Bitfields
00:59:31 __ 2. Bitfield Tests
01:13:51 __ 3. Bitfield Initialization
01:20:01 __ 4. Setting Field Values
01:27:42 __ 5. Example - DS3231 Registers
6. Subclass Registration:
01:29:52 __ 1. Decoder Example
01:35:41 __ 2. Subclass Registration by Metaclass
01:39:48 __ 3. Subclass Registration with __init_subclass__
7. Metaclasses and Inheritance:
01:41:49 __ 1. Base Class Metaclasses
01:44:36 __ 2. Composable Metaclasses
01:47:53 __ 3. Outro