summaryrefslogtreecommitdiff
path: root/Python/future.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-04-13 22:13:08 +0000
committerTim Peters <tim.peters@gmail.com>2003-04-13 22:13:08 +0000
commit874e1f7ed3911b3290d095891082041b122e7030 (patch)
treeb0e7dec80255cc929f428ff725a7a589d1acf26e /Python/future.c
parentd39078ba2d77daeac74505ac13417bc5ed625ce1 (diff)
downloadcpython-git-874e1f7ed3911b3290d095891082041b122e7030.tar.gz
handle_range_longs(): refcount handling is very delicate here, and
the code erroneously decrefed the istep argument in an error case. This caused a co_consts tuple to lose a float constant prematurely, which eventually caused gc to try executing static data in floatobject.c (don't ask <wink>). So reworked this extensively to ensure refcount correctness.
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions