Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer should flush() on __del__ #27

Open
msalib opened this issue Oct 17, 2017 · 0 comments
Open

Buffer should flush() on __del__ #27

msalib opened this issue Oct 17, 2017 · 0 comments

Comments

@msalib
Copy link

msalib commented Oct 17, 2017

Since it doesn't, data loss can occur, especially if you're using partd from multiprocessing workers where the workers aren't responsible for dropping the partd buffer.

Alternatively, the documentation should really mention that users MUST call flush() or they can lose data.

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

No branches or pull requests

1 participant