summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-20 16:54:59 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-20 16:54:59 (GMT)
commit4440f22e987f2ccfb798eb8df349884082cccb64 (patch)
treea2dece7290ef6d87562a80a8e5a6259757419b85 /Modules/datetimemodule.c
parent0780e470dcba9d9b7307cbce7dcddd6053efaf53 (diff)
downloadcpython-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