Skip to content

run_csv_view reads beyond exhausted file handle #43

@AkshajSinghal

Description

@AkshajSinghal

rows = list(islice(reader, 50)) exhausts the csv.reader, then remaining = sum(1 for _ in reader) iterates the same already-exhausted iterator, always yielding 0. The caption ...and N more rows will never appear, silently hiding truncated data with no user feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions