Author ncoghlan
Recipients Kevin Shweh, Martin.Teichmann, Nate Soares, levkivskyi, ncoghlan
Date 2017-02-23.15:38:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487864303.66.0.0584594145683.issue29581@psf.upfronthosting.co.za>
In-reply-to
Content
Note that the publisher side workaround for this is relatively straightforward: __init_subclass__ implementations that want to be compatible with arbitrary metaclasses will need to take any additional parameters as class attributes (which they may delete), rather than as class header keyword arguments.

For 3.7 though, it probably makes sense to update abc.ABCMeta to pass along arbitrary keyword arguments based on the same rationale as used in PEP 487 to justify making this change for type itself: by default, type.__init_subclass__ will still complain about it, but if someone overrides __init_subclass__ to accept additional keyword arguments, doing so will just work.
History
Date User Action Args
2017-02-23 15:38:23ncoghlansetrecipients: + ncoghlan, Martin.Teichmann, levkivskyi, Kevin Shweh, Nate Soares
2017-02-23 15:38:23ncoghlansetmessageid: <1487864303.66.0.0584594145683.issue29581@psf.upfronthosting.co.za>
2017-02-23 15:38:23ncoghlanlinkissue29581 messages
2017-02-23 15:38:23ncoghlancreate