Project

General

Profile

Actions

Bug #7852

closed

[SDKs] arvados.arvfile.StreamFileReader.readlines() returns empty list after calling .readline()

Added by Joshua Randall over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Story points:
0.5

Description

If one calls `readline` on an `arvados.arvfile.StreamFileReader` then a subsequent call to `readlines` will return an empty list. My expectation was that the first sfr.readline() call would give me the first line and then the sfr.readlines() call would give me the rest of the lines, but this appears to not work.


Subtasks 1 (0 open1 closed)

Task #8755: Review 7852-readline-cache-fix-wipResolvedPeter Amstutz03/17/2016Actions
Actions

Also available in: Atom PDF