On 1/19/22 1:10 PM, Barry Scott wrote:
> On 18 Jan 2022, at 19:59, 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.
>>
>
> In the apps I work on as open source and paid work tracebacks are put into
log files so that
> we can fix the rare bugs. It would not be nice if the traceback module API
started providing
> text with embedded escape sequences without a way to turn then off in the API.
An environment variable would solve this, yes? The default would be using the underlining carets, but an env var could
switch that to using color instead.
--
~Ethan~
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/553Z6HJNAJ2N6KTRNTOYM54PD3NRU6FJ/
Code of Conduct: http://python.org/psf/codeofconduct/