@@ -71,7 +71,12 @@ Summary -- release highlights
71
71
* :ref: `PEP 761: Discontinuation of PGP signatures <whatsnew314-pep761 >`
72
72
* :ref: `PEP 765: Disallow return/break/continue that exit a finally block <whatsnew314-pep765 >`
73
73
* :ref: `PEP 768: Safe external debugger interface for CPython <whatsnew314-pep768 >`
74
- * :ref: `A new type of interpreter <whatsnew314-tail-call >`
74
+ * :ref: `A new type of interpreter <whatsnew314-tail-call >`
75
+ * :ref: `Syntax highlighting in PyREPL <whatsnew314-pyrepl-highlighting >`,
76
+ color output in :ref: `unittest <whatsnew314-color-unittest >`,
77
+ :ref: `json <whatsnew314-color-json >` and
78
+ :ref: `calendar <whatsnew314-color-calendar >` CLIs, and in
79
+ :ref: `argparse <whatsnew314-color-argparse >` help
75
80
76
81
77
82
Incompatible changes
@@ -560,6 +565,9 @@ For further information on how to build Python, see
560
565
(Contributed by Ken Jin in :gh: `128563 `, with ideas on how to implement this
561
566
in CPython by Mark Shannon, Garrett Gu, Haoran Xu, and Josh Haberman.)
562
567
568
+
569
+ .. _whatsnew314-pyrepl-highlighting :
570
+
563
571
Syntax highlighting in PyREPL
564
572
-----------------------------
565
573
@@ -698,6 +706,8 @@ argparse
698
706
and subparser names if mistyped by the user.
699
707
(Contributed by Savannah Ostrowski in :gh: `124456 `.)
700
708
709
+ .. _whatsnew314-color-argparse :
710
+
701
711
* Introduced the optional *color * parameter to
702
712
:class: `argparse.ArgumentParser `, enabling color for help text.
703
713
This can be controlled via the :envvar: `PYTHON_COLORS ` environment
732
742
* The :mod: `bdb ` module now supports the :mod: `sys.monitoring ` backend.
733
743
(Contributed by Tian Gao in :gh: `124533 `.)
734
744
745
+
746
+ .. _whatsnew314-color-calendar :
747
+
735
748
calendar
736
749
--------
737
750
@@ -1030,6 +1043,8 @@ json
1030
1043
See the :ref: `JSON command-line interface <json-commandline >` documentation.
1031
1044
(Contributed by Trey Hunner in :gh: `122873 `.)
1032
1045
1046
+ .. _whatsnew314-color-json :
1047
+
1033
1048
* By default, the output of the :ref: `JSON command-line interface <json-commandline >`
1034
1049
is highlighted in color. This can be controlled via the
1035
1050
:envvar: `PYTHON_COLORS ` environment variable as well as the canonical
@@ -1476,6 +1491,8 @@ unicodedata
1476
1491
* The Unicode database has been updated to Unicode 16.0.0.
1477
1492
1478
1493
1494
+ .. _whatsnew314-color-unittest :
1495
+
1479
1496
unittest
1480
1497
--------
1481
1498
0 commit comments