mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
gh-112730: Use color to highlight error locations (gh-112732)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
3870d19d15
commit
16448cab44
8 changed files with 369 additions and 40 deletions
|
|
@ -85,7 +85,13 @@ Important deprecations, removals or restrictions:
|
|||
New Features
|
||||
============
|
||||
|
||||
Improved Error Messages
|
||||
-----------------------
|
||||
|
||||
* The interpreter now colorizes error messages when displaying tracebacks by default.
|
||||
This feature can be controlled via the new :envvar:`PYTHON_COLORS` environment
|
||||
variable as well as the canonical ``NO_COLOR`` and ``FORCE_COLOR`` environment
|
||||
variables. (Contributed by Pablo Galindo Salgado in :gh:`112730`.)
|
||||
|
||||
Other Language Changes
|
||||
======================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue