]> granicus.if.org Git - python/commit
if the GzipFile constructor fails, the __del__ method is still
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 8 May 2000 16:59:59 +0000 (16:59 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 8 May 2000 16:59:59 +0000 (16:59 +0000)
commite298c3018cf5613aa3d8af4a5cc5652f1659f12b
treef0556d1430da984e3def128cb71f0a3435567db7
parentc554505ca1318fd7aed32086ceb4b53ae767ffa3
if the GzipFile constructor fails, the __del__ method is still
called.  catch the resulting AttributeError and exit cleanly.
Lib/gzip.py