diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-20 16:54:59 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-20 16:54:59 (GMT) |
commit | 4440f22e987f2ccfb798eb8df349884082cccb64 (patch) | |
tree | a2dece7290ef6d87562a80a8e5a6259757419b85 /Modules/datetimemodule.c | |
parent | 0780e470dcba9d9b7307cbce7dcddd6053efaf53 (diff) | |
download | cpython-4440f22e987f2ccfb798eb8df349884082cccb64.zip cpython-4440f22e987f2ccfb798eb8df349884082cccb64.tar.gz cpython-4440f22e987f2ccfb798eb8df349884082cccb64.tar.bz2 |
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.
Diffstat (limited to 'Modules/datetimemodule.c')
0 files changed, 0 insertions, 0 deletions