[Python-bugs-list] [ python-Feature Requests-563141 ] fileinput/gzip modules should play well

noreply@sourceforge.net noreply@sourceforge.net
Fri, 31 May 2002 17:27:50 -0700


Feature Requests item #563141, was opened at 2002-05-31 17:27
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=563141&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg White (groggygreggy)
Assigned to: Nobody/Anonymous (nobody)
Summary: fileinput/gzip modules should play well

Initial Comment:
It seems to be nearly impossible to use the fileinput 
module to read gzip files, even though gzip support is 
available in the gzip module.

As a first step, it would be nice if the fileinput.FileInput 
class provided an overridable method that let outsiders 
glue the gzip module in place.

It would also be nice if there was a way to make fileinput 
just automatically support gzip files (if, for instance, it 
saw a .gz extension).

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=563141&group_id=5470