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 ethan.furman
Recipients ethan.furman, rhettinger, serhiy.storchaka, stutzbach
Date 2020-12-29.03:15:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609211745.49.0.753820963645.issue42775@roundup.psfhosted.org>
In-reply-to
Content
My understanding of using keywords in class headers

  class MyClass(SomeBaseClass, setting='maybe'):
    ...

is that the keywords would get passed into the super classes `__init_subclass__`  (`SomeBaseClass` and `setting`).

However, in the cases of 

- test_descr.py
- test_py_compile.py
- typing.py

that wasn't happening -- until the initial patch of moving the calls from `type.__new__` to `type.__init__`.

An `__init__` has been added in those three locations to discard the keyword arguments being passed in.
History
Date User Action Args
2020-12-29 03:15:45ethan.furmansetrecipients: + ethan.furman, rhettinger, stutzbach, serhiy.storchaka
2020-12-29 03:15:45ethan.furmansetmessageid: <1609211745.49.0.753820963645.issue42775@roundup.psfhosted.org>
2020-12-29 03:15:45ethan.furmanlinkissue42775 messages
2020-12-29 03:15:44ethan.furmancreate