]> granicus.if.org Git - python/commit
Close #14095: type.__new__() doesn't remove __qualname__ key from the class
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 25 Feb 2012 00:22:36 +0000 (01:22 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 25 Feb 2012 00:22:36 +0000 (01:22 +0100)
commit6f73874edd30afaa9580f63d3ba0f1ea9c4b09b7
tree2f0e2d2ca36b96315439cc3fbe6c87aeb9abc548
parentb0800dc53bdcb77b6fb7c07645460b7954792290
Close #14095: type.__new__() doesn't remove __qualname__ key from the class
dict anymore if the key is present. Reject also non-string qualified names.
And fix reference leaks in type.__new__().
Lib/test/test_descr.py
Objects/typeobject.c