Message354104
Essentially the same as https://bugs.python.org/issue29581 (more detail is there), but for the additional meta-classes enum.EnumMeta and probably typing.NamedTupleMeta (discussion needed - is there a use-case for this?)
The __new__ method on these metaclasses should include **kwargs at the end of the method definition and pass them on to the super call in order to allow the special method __init_subclass__ to be defined with custom parameters on classes using the metaclass.
(also, perhaps the issue for typing should be reported separately on github python/typing instead) |
|
Date |
User |
Action |
Args |
2019-10-07 16:06:40 | retnikt | set | recipients:
+ retnikt |
2019-10-07 16:06:40 | retnikt | set | messageid: <1570464400.89.0.0085195281122.issue38397@roundup.psfhosted.org> |
2019-10-07 16:06:40 | retnikt | link | issue38397 messages |
2019-10-07 16:06:40 | retnikt | create | |
|