Patches item #1225466, was opened at 2005-06-22 11:50 Message generated for change (Comment added) made by hoffmanm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1225466&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.3 Status: Open Resolution: None Priority: 5 Submitted By: Stephan Boettcher (sib4) Assigned to: Nobody/Anonymous (nobody) Summary: fileinput openfile patch, bz2fileinput Initial Comment: Please consider the enclosed patch to fileinput.py, which implements an openfile method of FileInput. Included is a use case bz2fileinput.py. ---------------------------------------------------------------------- Comment By: Michael Hoffman (hoffmanm) Date: 2005-06-30 07:51 Message: Logged In: YES user_id=987664 Hmmm. This could be useful. Pythonistas could also supply openfile for, say, URLs as well. I'm kind of lukewarm on it for some reason--I think that you'd be better off decompressing the data somewhere else. I also did some benchmarking the other day and found that fileinput is really, really slow. I don't understand the change from Fileinput to _Fileinput. You're going to need to fix the inplace stuff in Fileinput.readline(). This needs documentation, and a more detailed description. Please provide a patch against the latest CVS instead of Python 2.3. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1225466&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
