This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author retnikt
Recipients retnikt
Date 2019-10-07.16:06:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570464400.89.0.0085195281122.issue38397@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2019-10-07 16:06:40retniktsetrecipients: + retnikt
2019-10-07 16:06:40retniktsetmessageid: <1570464400.89.0.0085195281122.issue38397@roundup.psfhosted.org>
2019-10-07 16:06:40retniktlinkissue38397 messages
2019-10-07 16:06:40retniktcreate