]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport typeobject.c revision 2.201 plus associated tests from 2.3:
authorGuido van Rossum <guido@python.org>
Tue, 7 Jan 2003 21:49:18 +0000 (21:49 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Jan 2003 21:49:18 +0000 (21:49 +0000)
commit134b9f07854264aca082e1f8edd2f56facfbe920
tree8c0c2bb2ea5bdf96220b78bbb48d0a59bca62b04
parentbec7972a2cc1dcc9b5460c9182de87c5d08321d9
Backport typeobject.c revision 2.201 plus associated tests from 2.3:

Add a refinement to SLOT1BINFULL() that fixes the problem reported in
SF bug #623669: only try (e.g.) __rdiv__ before __div__ if the right
class actually overrides it.

Also backport a test for a feature that broke in 2.3 (__dict__ of a
new-style class with a user-defined metaclass should be a proxy).
Lib/test/test_descr.py