Closed char101 closed 9 years ago
Apparently it is necessary. Is is possible the save and restore the stdout/stderr before/after reloading the sys module?
Hi @char101,
Thanks for reporting this issue! I'll try to have a fix of some sort in before the next release.
Thanks!
~Timothy
Hi @char101,
This fix is live in version 2.6.3
Thanks again!
~Timothy
Thanks for fixing the issue.
Hi,
So I was using vim with the vim-flake8 plugin, which in turn uses frosted, which in turn uses pies.
When python is run inside vim, the sys.stdout/sys.stderr is assigned to the vim window, but when the module is being reloaded, the assignment is gone.
https://github.com/timothycrosley/pies/blob/develop/pies/overrides.py#L101
Is this reload really necessary?