[Tutor] GzipFile has no attribute '__exit__'

Sander Sweers sander.sweers at gmail.com
Mon Nov 16 20:59:08 CET 2009

2009/11/16 Kent Johnson <kent37 at tds.net>:
> You might want to report this as a bug against 2.6 and submit this
> change as a proposed fix. It's easy to do, see

I poked around in the bug tracker and found [1]. It will be in 2.7 and
was *not* accepted for 2.6.

If anyone wants to add this in themselves see [2].


[1] http://bugs.python.org/issue3860
[2] http://svn.python.org/view?view=rev&revision=68484

More information about the Tutor mailing list