Message342731
Thanks for the clarification. For the first point on the correctness of the original text, that makes sense, could you link me to any relevant documentation for further reading?
On the second point "Meta modifies the creation of the classes themselves, not instances of the classes." I think this is not 100% correct. When you create an instance of a class via "instance = MyClass()", the `__call__` method of the metaclass is invoked, so metaclasses can control both class definition and instance creation. |
|
Date |
User |
Action |
Args |
2019-05-17 15:35:13 | Nicholas Matthews | set | recipients:
+ Nicholas Matthews, docs@python, matrixise, josh.r |
2019-05-17 15:35:13 | Nicholas Matthews | set | messageid: <1558107313.66.0.151424556922.issue36947@roundup.psfhosted.org> |
2019-05-17 15:35:13 | Nicholas Matthews | link | issue36947 messages |
2019-05-17 15:35:13 | Nicholas Matthews | create | |
|