homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2008年07月07日.00:45:57
SpamBayes Score 0.00010856635
Marked as misclassified No
Message-id <1215391561.36.0.549542846727.issue3309@psf.upfronthosting.co.za>
In-reply-to
Content
Call BZ2File_iternext() on closed file doesn't release the lock.
Example:
-----------
import bz2
obj = bz2.BZ2File('/etc/issue')
obj.close()
try:
 # acquire the lock
 obj.next()
except ValueError, err:
 # but don't release the lock
 print err
# DEAD LOCK here
obj.readlines()
-----------
Attached patch fixes this bug.
History
Date User Action Args
2008年07月07日 00:46:02vstinnersetspambayes_score: 0.000108566 -> 0.00010856635
recipients: + vstinner
2008年07月07日 00:46:01vstinnersetspambayes_score: 0.000108566 -> 0.000108566
messageid: <1215391561.36.0.549542846727.issue3309@psf.upfronthosting.co.za>
2008年07月07日 00:45:59vstinnerlinkissue3309 messages
2008年07月07日 00:45:59vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /