Issue #3860: GzipFile and BZ2File now support the context manager protocol.
commit8ba181afb9129c9725eae5989c650d0401d6227e
authorantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 10 Jan 2009 16:13:45 +0000 (10 16:13 +0000)
committerantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 10 Jan 2009 16:13:45 +0000 (10 16:13 +0000)
treee81c1dcef70da56cb267354584de714c36a46089
parente063854e5c4dbd5d439d61830250911da366cd68
Issue #3860: GzipFile and BZ2File now support the context manager protocol.

git-svn-id: http://svn.python.org/projects/python/trunk@68484 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/gzip.py
Lib/test/test_bz2.py
Lib/test/test_gzip.py
Modules/bz2module.c