I should add that the patches are on SourceForge: fileinput.py: http://sourceforge.net/patch/?func=detailpatch&patch_id=103081&group_id=5470 fileobject.c: http://sourceforge.net/patch/?func=detailpatch&patch_id=103082&group_id=5470 I'm ready to check these in, but I'm waiting 24 hours in case there's something I've missed. (I haven't actually tested these on any other platform besides Linux.) Jeff Epler's xreadlines patch is here: http://sourceforge.net/patch/?func=detailpatch&patch_id=102915&group_id=5470 Note that Jeff's patch includes a patch to fileinput.py that does the same thing as mine but using his xreadlines module instead of directly using readlines(sizehint) as does mine. I like my approach better, mostly because it reduces depenencies. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4