Skip to content
Discussion options

You must be logged in to vote

This is an interesting limitation specifically to do with how super() interacts with __init__ of built-in types (which is called make_new in the C code).

Basically in the way builtin kwarg-capable functions work generally is different to make_new (for efficiency reasons), so there needs to be extra mapping (which isn't currently implemented).

I can't think of a good workaround, but might just be better to implement the fix.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@jimmo
Comment options

@cve2022
Comment options

@ghost
Comment options

Answer selected by cve2022
Comment options

You must be logged in to vote
1 reply
@cve2022
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants