verigak / progress

Easy to use progress bars for Python
ISC License
1.41k stars 179 forks source link

Support changing sys.stderr #21

Open Drekin opened 9 years ago

Drekin commented 9 years ago

It would be nice if progress supported the situation when sys.stderr is changed at runtime. Currenly, it is bound in Infinity.file at import time and further changes to sys.stderr are not reflected. I'd like to suggest changing Infinity.file into a property returning sys.stderr.

Related: https://github.com/Drekin/win-unicode-console/issues/11.