summaryrefslogtreecommitdiff
path: root/Python/future.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-04 21:47:44 +0000
committerTim Peters <tim.peters@gmail.com>2003-02-04 21:47:44 +0000
commit3e667d5452ce480eee2d4125c1209630e02ac574 (patch)
tree521455459e6c62ba4c07aa8d698ef2a6654eaa36 /Python/future.c
parent5042da6b1e567039951cdfe6b822dd725012bdf1 (diff)
downloadcpython-git-3e667d5452ce480eee2d4125c1209630e02ac574.tar.gz
cPickle: exempt two_tuple from GC -- it's a speed hack, and doesn't
guarantee to keep valid pointers in its slots. tests: Moved ExtensionSaver from test_copy_reg into pickletester, and use it both places. Once extension codes get assigned, it won't be safe to overwrite them willy nilly in test suites, and ExtensionSaver does a thorough job of undoing any possible damage. Beefed up the EXT[124] tests a bit, to check the smallest and largest codes in each opcode's range too.
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions