New submission from Terrel Shumway:
for line in fileinput.input(files,inplace,backup,"rU"):
File "/usr/lib/python2.7/fileinput.py", line 253, in next
line = self.readline()
File "/usr/lib/python2.7/fileinput.py", line 346, in readline
self._buffer = self
Terrel Shumway added the comment:
http://hg.python.org/cpython/file/4dbbf322a9df/Lib/fileinput.py
>In the process, I added an optional bufsize argument to the input()
>function and the FileInput class.
--
___
Python tracker
<http://bugs.p
Terrel Shumway added the comment:
http://hg.python.org/cpython/file/68c776ba5ea5/Lib/fileinput.py
This is where the incorrect docstrings get added.
--
___
Python tracker
<http://bugs.python.org/issue18
Terrel Shumway added the comment:
Here is a patch against the 2.7 branch. It will probably also apply to 2.6 if
anyone cares.
--
keywords: +patch
Added file: http://bugs.python.org/file30712/fileinput-document-bufsize.patch
___
Python tracker
Terrel Shumway added the comment:
Oops. I messed up, even on such a tiny fix. #:(
--
Added file: http://bugs.python.org/file30713/fileinput-document-bufsize.patch
___
Python tracker
<http://bugs.python.org/issue18