-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors with new colorama #770
Comments
I can reproduce this on Windows 7:
|
@untitaker, it's worth noting that even is they add the |
I understand. As far as I can tell we can work around However, looking at the chain reaction of bug reports that led to this issue, I'm not sure if we should attempt to do anything but wait until that new Python issue gets fixed. Especially since the reason colorama doesn't have a fileno is a workaround itself. |
Seems to have been fixed at some point, possibly by #1135. 7.1 will be out soon. |
Colorama fixed an issue (here) by copying some CPython bug fix (here)
Now this code fails with colorama==0.3.8:
python -c "import colorama; import click; colorama.init(); click.echo('hi')"
To me it is unclear who is at fault here (click, colorama, the def fileno() which always raises an error?) ... but I thought bugs should be created in both projects. If it turns out that Python "fix" was the problem, one should be opened there as well.
The text was updated successfully, but these errors were encountered: