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 Roman Valls
Recipients Roman Valls, amaury.forgeotdarc, arigo, benjamin.peterson, pitrou
Date 2015-09-23.14:51:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAOpFiqth2v244jwJKZEjiAHhi=Y4_T4LzypKppVXJEWtMfxzWg@mail.gmail.com>
In-reply-to <1443019393.97.0.737576261234.issue9928@psf.upfronthosting.co.za>
Content
Gotcha, sorry about that :-S

On Wed, Sep 23, 2015 at 4:43 PM, Armin Rigo <report@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 <report@bugs.python.org>
> <http://bugs.python.org/issue9928>
> _______________________________________
History
Date User Action Args
2015-09-23 14:51:53Roman Vallssetrecipients: + Roman Valls, arigo, amaury.forgeotdarc, pitrou, benjamin.peterson
2015-09-23 14:51:53Roman Vallslinkissue9928 messages
2015-09-23 14:51:53Roman Vallscreate