
Jan. 19, 2022
4:10 p.m.
On 18 Jan 2022, at 19:59, Pablo Galindo Salgado <pablogsal@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