dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
648 stars 153 forks source link

Terminal color output regression since last release. #685

Open AndKe opened 2 months ago

AndKe commented 2 months ago

Summary

Terminal colors fail.

Reproduction Steps

1 Install latest release (which is not really working anymore) 2 Run in PyCharm, observe color coded log messages. 3 update to current master 4 run in PyCharm, observe that the colors are gone. I originally thought this was a PyCharm issue, as colors works in VScode, and posted this: https://intellij-support.jetbrains.com/hc/en-us/community/posts/18152215956754-How-to-improve-Pycharm-run-output-with-colors

But I realize there is something odd about the current master that causes PyCharm to fail.

Code

(just about anything that uses the library)

Expected Results

colors, also in PyCharm, as it was in last release

Actual Results

see screenshot in https://intellij-support.jetbrains.com/hc/en-us/community/posts/18152215956754-How-to-improve-Pycharm-run-output-with-colors

System Information

Checklist

Additional Information

-

dolfies commented 1 month ago

The color output code is unchanged from upstream discord.py. Can you reproduce it there?

AndKe commented 1 month ago

for best testing, is it ok to install discord.py alongside discord.py-self in the same venv?

dolfies commented 1 month ago

No, they use the same namespace. You can try the renamed branch.