]> granicus.if.org Git - python/commit
type_call(): Change in policy. The keyword args (if any) are now passed
authorTim Peters <tim.peters@gmail.com>
Thu, 13 Sep 2001 19:18:27 +0000 (19:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 13 Sep 2001 19:18:27 +0000 (19:18 +0000)
commit3f996e7266113eed814015d977d50e221c3a421d
tree97fb0360dd86d9aa466d2bf39a18dd8aa7dcd025
parentbafedecc06176e431c3050ba8bcf1d4039e605af
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.
Lib/test/test_descr.py
Objects/typeobject.c