Skip to content

What should BufferedWriter do on flush failure in drop? #12628

Closed
@alexcrichton

Description

@alexcrichton

If #12630 lands, I/O errors from flush() will be ignored when a BufferedWriter is dropped. Is this the right decision, so this trigger a task failure? Should it be dynamically controllable?

This sort of decision will set precedent for future methods such as a manual close(self) method (should close errors be ignored by default?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions