[issue18315] bufsize parameter not documented in 2.7.5

2013-06-27 Thread Terrel Shumway
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

[issue18315] bufsize parameter not documented in 2.7.5

2013-06-27 Thread Terrel Shumway
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

[issue18315] bufsize parameter not documented in 2.7.5

2013-06-27 Thread Terrel Shumway
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

[issue18315] bufsize parameter not documented in 2.7.5

2013-06-27 Thread Terrel Shumway
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

[issue18315] bufsize parameter not documented in 2.7.5

2013-06-27 Thread Terrel Shumway
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