This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Terrel.Shumway
Recipients Terrel.Shumway, docs@python
Date 2013-06-27.15:59:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
for line in fileinput.input(files,inplace,backup,"rU"):
  File "/usr/lib/python2.7/", line 253, in next
    line = self.readline()
  File "/usr/lib/python2.7/", line 346, in readline
    self._buffer = self._file.readlines(self._bufsize)
TypeError: an integer is required

According to the documentation, my code was correct. But somewhere along the line, someone added a 'bufsize' parameter and didn't update the docstrings.

It's an easy fix, but I'll have to investigate when this broke.
Date User Action Args
2013-06-27 15:59:58Terrel.Shumwaysetrecipients: + Terrel.Shumway, docs@python
2013-06-27 15:59:58Terrel.Shumwaysetmessageid: <>
2013-06-27 15:59:58Terrel.Shumwaylinkissue18315 messages
2013-06-27 15:59:58Terrel.Shumwaycreate