On 16 September 2013 00:19, Ethan Furman wrote:
> Three questions:
>
>
> Would the new __initclass__ function be usable with actual full-blown
> metaclasses?
Sure (as long as the metaclass in question called it at the
appropriate time, which those inheriting from type would do
automatically)).
>
Three questions:
Would the new __initclass__ function be usable with actual full-blown
metaclasses?
The PEP says this:
If present on the created object, this new hook will be called by the class
creation machinery after the __class__ reference has been initialised.
Given that statement,