commit | 4440f22e987f2ccfb798eb8df349884082cccb64 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Jan 20 16:54:59 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon Jan 20 16:54:59 2003 +0000 |
tree | a2dece7290ef6d87562a80a8e5a6259757419b85 | |
parent | 0780e470dcba9d9b7307cbce7dcddd6053efaf53 [diff] |
Recursive compare machinery: The code that intended to exempt tuples was broken because new-in-2.3 code added a tp_as_mapping slot to tuples. Repaired that. Added basic docs to check_recursion(). The code that intended to exempt tuples and strings was also broken here, and in 2.2: these should use PyXYZ_CheckExact(), not PyXYZ_Check() -- we can't know whether subclass instances are immutable. This part (and this part alone) is a bugfix candidate.