> On 18 Jan 2022, at 19:59, Pablo Galindo Salgado <pablog...@gmail.com> 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.

On the other hand it would be great to be able, as an API call, to set the 
style of the traceback
text.

Barry

_______________________________________________
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/UMWXLNTKNFX45HPIVM2U6TQP2JPQEWFF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to