[issue37036] Iterating a text file by line should not implicitly disable tell

Josh Rosenberg report at bugs.python.org
Fri May 24 12:13:33 EDT 2019


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

Left a dangling sentence in there:

"I used two arg iter in both cases to keep the code paths as similar as possible so the `telling`."

should read:

"I used iter(f.readline, '') in both cases to keep the code paths as similar as possible so the `telling` optimization was tested in isolation."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37036>
_______________________________________


More information about the Python-bugs-list mailing list