]> granicus.if.org Git - python/commit
Fix for SF bug #642358: only provide a new with a __dict__ or
authorGuido van Rossum <guido@python.org>
Tue, 7 Jan 2003 13:41:37 +0000 (13:41 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Jan 2003 13:41:37 +0000 (13:41 +0000)
commit373c7412f297c375d84c5984f753557b441dd6f4
tree4ab1908125675023d61bb0670eaaf6a5acab8f55
parent145a4a0f10009f7ce2644465ccd359938b034ac4
Fix for SF bug #642358: only provide a new with a __dict__ or
__weaklist__ descriptor if we added __dict__ or __weaklist__,
respectively.  With unit test.
Lib/test/test_descr.py
Objects/typeobject.c