• Gregory P. Smith's avatar
    Backport of r64767 from trunk · aee7bfca
    Gregory P. Smith authored
    Fixes Issue #3309: Fix bz2.BZFile iterator to release its internal lock
    properly when raising an exception due to the bz2file being closed.
    Prevents a deadlock.
    aee7bfca
test_bz2.py 14.7 KB