Roman Valls added the comment: Gotcha, sorry about that :-S
On Wed, Sep 23, 2015 at 4:43 PM, Armin Rigo <rep...@bugs.python.org> wrote: > > Armin Rigo added the comment: > > Roman: bz2.decompress(comp.read()) returns a string, so you can't use "with" > on it. This bug was about using "with bz2.BZ2File(...) as f:". > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue9928> > _______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9928> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com