type_call(): Change in policy. The keyword args (if any) are now passed
on to the tp_new slot (if non-NULL), as well as to the tp_init slot (if
any). A sane type implementing both tp_new and tp_init should probably
pay attention to the arguments in only one of them.
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 430e68c..0d154d9 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -151,7 +151,7 @@
return NULL;
}
- obj = type->tp_new(type, args, NULL);
+ obj = type->tp_new(type, args, kwds);
if (obj != NULL) {
type = obj->ob_type;
if (type->tp_init != NULL &&