]> granicus.if.org Git - python/commit
Fix SF bug #472234: type(obj) calls type->tp_init (Roeland Rengelink)
authorGuido van Rossum <guido@python.org>
Thu, 18 Oct 2001 15:49:21 +0000 (15:49 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 18 Oct 2001 15:49:21 +0000 (15:49 +0000)
commitf76de62f7d48a25d5f67357ae7b2f487904a5fcc
treefbdeb2efbe6d67caa25a5cb03163af7b573f29b5
parentb7da67a873595f022c890783856f7ee764a00c3a
Fix SF bug #472234: type(obj) calls type->tp_init (Roeland Rengelink)

The fix is a band-aid: type_call() now makes the same exception for a
single-argument call to type() as type_new() was already making.
Lib/test/test_descr.py
Misc/ACKS
Objects/typeobject.c