Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-10-07 | py/objtype: Allow passing keyword arguments to native base __init__. | stijn | |
Allowing passing keyword arguments to a native base's __init__, i.e. `make_new` in the C code. Previously only positional arguments were allowed. The main trade-off in this commit is that every call to the native base's `make_new` is now going to be preceded by a call to `mp_map_init_fixed_table` even though most of what that does is unused and instead it merely serves as a way to pass the number of keyword arguments. Fixes issue #15465. Signed-off-by: stijn <stijn@ignitron.net> | |||
2017-12-12 | tests/basics: Add test for overriding a native base-class's init method. | Damien George | |