[Python-Dev] Re: 3.11 enhanced error location - can it be smarter?

2022年1月18日 13:36:17 -0800

tox and pytest look at PY_COLORS:
https://github.com/tox-dev/tox/blob/9cc692d85c9ce84344ea7fee4b127755c6099a32/src/tox/session/commands/help.py
https://docs.pytest.org/en/6.2.x/reference.html#envvar-PY_COLORS 
On 2022年1月18日 at 21:17, Ethan Furman <[email protected]> wrote:
> On 1/18/22 11:59 AM, Pablo Galindo Salgado wrote:
>
> > We considered using colours and other markers such as bold text, but
> that opens a considerable can of worms with
> > detecting in all systems and configurations if that can be done. I have
> been told that some of these situations are
> > quite tricky and is not as easy as checking for tty support.
>
> Maybe use an environment variable?
>
> --
> ~Ethan~
> _______________________________________________
> Python-Dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/TRI25YRCTJSDQKERZM2DHCWOMGXHQA3M/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/TH5HN7SKS6FV4QGB44IBN66VNHLLDMQ6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to