]> granicus.if.org Git - python/commit
handle_range_longs(): refcount handling is very delicate here, and
authorTim Peters <tim.peters@gmail.com>
Sun, 13 Apr 2003 22:13:08 +0000 (22:13 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 13 Apr 2003 22:13:08 +0000 (22:13 +0000)
commit874e1f7ed3911b3290d095891082041b122e7030
treeb0e7dec80255cc929f428ff725a7a589d1acf26e
parentd39078ba2d77daeac74505ac13417bc5ed625ce1
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.
Python/bltinmodule.c