@@ -71,7 +71,12 @@ Summary -- release highlights
7171* :ref: `PEP 761: Discontinuation of PGP signatures <whatsnew314-pep761 >`
7272* :ref: `PEP 765: Disallow return/break/continue that exit a finally block <whatsnew314-pep765 >`
7373* :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
7580
7681
7782Incompatible changes
@@ -560,6 +565,9 @@ For further information on how to build Python, see
560565(Contributed by Ken Jin in :gh: `128563 `, with ideas on how to implement this
561566in CPython by Mark Shannon, Garrett Gu, Haoran Xu, and Josh Haberman.)
562567
568+
569+ .. _whatsnew314-pyrepl-highlighting :
570+
563571Syntax highlighting in PyREPL
564572-----------------------------
565573
@@ -698,6 +706,8 @@ argparse
698706 and subparser names if mistyped by the user.
699707 (Contributed by Savannah Ostrowski in :gh: `124456 `.)
700708
709+ .. _whatsnew314-color-argparse :
710+
701711* Introduced the optional *color * parameter to
702712 :class: `argparse.ArgumentParser `, enabling color for help text.
703713 This can be controlled via the :envvar: `PYTHON_COLORS ` environment
732742* The :mod: `bdb ` module now supports the :mod: `sys.monitoring ` backend.
733743 (Contributed by Tian Gao in :gh: `124533 `.)
734744
745+
746+ .. _whatsnew314-color-calendar :
747+
735748calendar
736749--------
737750
@@ -1030,6 +1043,8 @@ json
10301043 See the :ref: `JSON command-line interface <json-commandline >` documentation.
10311044 (Contributed by Trey Hunner in :gh: `122873 `.)
10321045
1046+ .. _whatsnew314-color-json :
1047+
10331048* By default, the output of the :ref: `JSON command-line interface <json-commandline >`
10341049 is highlighted in color. This can be controlled via the
10351050 :envvar: `PYTHON_COLORS ` environment variable as well as the canonical
@@ -1476,6 +1491,8 @@ unicodedata
14761491* The Unicode database has been updated to Unicode 16.0.0.
14771492
14781493
1494+ .. _whatsnew314-color-unittest :
1495+
14791496unittest
14801497--------
14811498
0 commit comments