Skip to content

Conversation

@artgoldberg
Copy link

…occur when concurrent programs close & reopen stderr

self = <progress.bar.Bar object at 0x7f89ed7b1438>

    def is_tty(self):
>       return self.file.isatty() if self.check_tty else True
E       ValueError: I/O operation on closed file

We have a set of build utilities that won't work with progress without these changes.

Thanks
Arthur

…occur when concurrent programs close & reopen stderr

self = <progress.bar.Bar object at 0x7f89ed7b1438>

    def is_tty(self):
>       return self.file.isatty() if self.check_tty else True
E       ValueError: I/O operation on closed file
@verigak
Copy link
Owner

verigak commented Jul 20, 2020

I'm afraid this will break code that has overriden file to something else.

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