Menu

Commit [r15762]  Maximize  Restore  History

The sys.std*.isatty() methods are now being used to determine if text output should be coloured.

This removes the need for the status.text_colouring flag, and can handle changes in IO redirection
occurring at any point. This was suggested at both
http://mail.python.org/pipermail/python-list/2012-April/1291046.html and
http://mail.python.org/pipermail/python-list/2012-April/1291048.html.

bugman 2012-04-17

changed /1.3/prompt/base_class.py
changed /1.3/relax_errors.py
changed /1.3/relax_warnings.py
/1.3/prompt/base_class.py Diff Switch to side-by-side view
Loading...
/1.3/relax_errors.py Diff Switch to side-by-side view
Loading...
/1.3/relax_warnings.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.