Searched refs:xreadlines (Results 1 – 25 of 25) sorted by relevance
20 for url in f.xreadlines():
108 .. method:: xreadlines()111 performance optimizations previously implemented in the :mod:`xreadlines`
421 .. 2to3fixer:: xreadlines423 Changes ``for x in file.xreadlines()`` to ``for x in file``.
2563 .. method:: file.xreadlines()
196 def xreadlines(self, sizehint=None): member in FileLike
636 def xreadlines(self, *args): member in SpooledTemporaryFile
109 for line in f.xreadlines():
248 self.assertWarning(f.xreadlines(), w, expected)
927 self.assertEqual(list(f.xreadlines()), [b'abc\n'] * 5)931 self.assertEqual(list(f.xreadlines()), [b'abc\n'] * 5 + [b'x\n', b'y'])
137 self.assertEqual(list(bz2f.xreadlines()), sio.readlines())
443 .. 2to3fixer:: xreadlines445 Changes ``for x in file.xreadlines()`` to ``for x in file``.
723 Epler. The new method, :meth:`xreadlines`, is similar to the existing724 :func:`xrange` built-in. :func:`xreadlines` returns an opaque sequence object729 for line in sys.stdin.xreadlines():
1072 * The :meth:`xreadlines` method of file objects, introduced in Python 2.1, is no1074 :meth:`xreadlines` was originally introduced as a faster way to loop over all
1314 * The :mod:`mpz`, :mod:`rotor`, and :mod:`xreadlines` modules have been
75 file.xreadlines() now emits a Py3k warning.
927 In SpooledTemporaryFile class mode and name properties and xreadlines method
138 xreadlines-attribute,
641 27. As of Python 2.4, the mpz, rotor and xreadlines modules have been
142 - Bug #1535182: really test the xreadlines() method of bz2 objects.2555 - The mpz, rotor, and xreadlines modules, all deprecated in earlier5129 to "for line in file:"; the xreadlines method and corresponding5258 - file.xreadlines() now raises a ValueError if the file is closed:5259 Previously, an xreadlines object was returned which would raise5260 a ValueError when the xreadlines.next() method was called.5331 - The xreadlines module is slated for obsolescence.8106 - File objects have a new method, xreadlines(). This is the fastest8109 for line in file.xreadlines():8112 See the xreadlines module (mentioned below) for how to do this for[all …]
550 time, timing, xreadlines
17526 - Bug #1535182: really test the xreadlines() method of bz2 objects.19939 - The mpz, rotor, and xreadlines modules, all deprecated in earlier22513 to "for line in file:"; the xreadlines method and corresponding22642 - file.xreadlines() now raises a ValueError if the file is closed:22643 Previously, an xreadlines object was returned which would raise22644 a ValueError when the xreadlines.next() method was called.22715 - The xreadlines module is slated for obsolescence.25485 - File objects have a new method, xreadlines(). This is the fastest25488 for line in file.xreadlines():25491 See the xreadlines module (mentioned below) for how to do this for[all …]