Skip to content

GridOut context manager should work multiple times - #133

Closed
reimundklain wants to merge 1 commit into
mongodb:masterfrom
reimundklain:master
Closed

reimundklain wants to merge 1 commit into
mongodb:masterfrom
reimundklain:master

Conversation

@reimundklain

Copy link
Copy Markdown

No description provided.

@behackett

Copy link
Copy Markdown
Member

Thanks for the patch but I don't believe the behavior is correct. GridOut is meant to be file-like. In that sense we should really be raising "ValueError: I/O operation on closed file" when you try to iterate a second time. Seeking back to the beginning of the file is really counter-intuitive in this case.

@behackett behackett closed this May 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants