[Python-checkins] r53214 - peps/trunk/pep-3108.txt

brett.cannon python-checkins at python.org
Wed Jan 3 00:37:21 CET 2007


Author: brett.cannon
Date: Wed Jan  3 00:37:20 2007
New Revision: 53214

Modified:
   peps/trunk/pep-3108.txt
Log:
Save fileinput from the chopping block.


Modified: peps/trunk/pep-3108.txt
==============================================================================
--- peps/trunk/pep-3108.txt	(original)
+++ peps/trunk/pep-3108.txt	Wed Jan  3 00:37:20 2007
@@ -178,15 +178,6 @@
   + If removed sunaudio should go as well (also undocumented; not
     edited in over seven years).
 
-* fileinput
-
-  + Basic functionality handled by ``itertools.chain``.
-  + Using ``enumerate`` (for the line number in the file),
-    ``itertools.repeat`` (for returning the filename with each
-    line), and ``zip`` (for connecting the ``enumerate`` object and
-    ``itertools.repeat`` object)  provides 95% of other unique
-    abilities of fileinput.
-
 * imputil
 
   + Undocumented.
@@ -589,8 +580,12 @@
 Rejected Ideas
 ==============
 
-Modules that will stay
-----------------------
+Modules that were suggested for removal but were saved 
+------------------------------------------------------
+
+* fileinput
+
+    + Useful when having to work with stdin.
 
 * telnetlib
 


More information about the Python-checkins mailing list