[Python-Dev] Enhancements to the fileinput module (original) (raw)
Georg Brandl g.brandl at gmx.net
Sun Feb 19 16:00:47 CET 2006
- Previous message: [Python-Dev] [Python-checkins] r42490 - in python/branches/release24-maint: Lib/fileinput.py Lib/test/test_fileinput.py Misc/NEWS
- Next message: [Python-Dev] Enhancements to the fileinput module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've just checked in some enhancements to the fileinput module.
- fileno() to check the current file descriptor
- mode argument to allow opening in universal newline mode
- openhook argument to allow transparent opening of compressed or encoded files.
Please feel free to comment.
Cheers, Georg
- Previous message: [Python-Dev] [Python-checkins] r42490 - in python/branches/release24-maint: Lib/fileinput.py Lib/test/test_fileinput.py Misc/NEWS
- Next message: [Python-Dev] Enhancements to the fileinput module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]