]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Tempfile.py: stop buildbot warning about using deprecated xreadlines.
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 30 Jun 2013 17:57:57 +0000 (13:57 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sun, 30 Jun 2013 17:57:57 +0000 (13:57 -0400)
commit6c1d9dd566405a0da6b27b0847ab5fbe49b5b564
treedec8a506bf96503eab2d54f07e36ea15a959169f
parent24dc75365e4b6903e3c77a9e480451fb3e31b55b
Tempfile.py: stop buildbot warning about using deprecated xreadlines.

The slightly odd behavior (the validity of passing a sizehint depends on the
type of self._file) was kept to avoid breaking code that depends on it.
Test_tempfile.test_xreadlines passes (along with everything else).
Lib/tempfile.py