Patches item #1215184, was opened at 2005-06-05 16:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1215184&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: Python 2.5 Status: Open Resolution: None Priority: 5 Submitted By: Reinhold Birkenfeld (birkenfeld) Assigned to: Nobody/Anonymous (nobody) Summary: two fileinput enhancements (fileno, openhook) Initial Comment: These two patches enhance the fileinput module. The fileno patch adds a "fileno()" method that returns the current file number. The openhook patch adds a possibility to specify an opening hook, that is, instead of calling open(), the hook is called. This is useful, for example, for transparently decompressing gzip files, as wished in RFE #563141. Docs and tests will be added if this is welcomed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1215184&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
