Skip to content

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

@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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions