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.

Title: Class **kwds broken (PEP 3115)
Type: behavior Stage:
Components: Interpreter Core Versions: Python 3.0
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: jackdied Nosy List: jackdied
Priority: normal Keywords:

Created on 2008-03-17 17:24 by jackdied, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg63681 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2008-03-17 17:24
typeobject.c:type_new only allows 0 or 1 keyword arg in class creation
instead of an arbitrary number as per PEP3115.

I'm working on a patch.
msg63727 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2008-03-17 19:33
Not a bug.

If you pass arbitrary keywords in class construction you have to define
__new__ and __init__ on the metaclass to handle them.
Date User Action Args
2022-04-11 14:56:31adminsetgithub: 46581
2008-03-17 19:33:11jackdiedsetstatus: open -> closed
resolution: not a bug
messages: + msg63727
2008-03-17 17:24:19jackdiedcreate