@@ -460,12 +460,12 @@ and others in :gh:`103764`.)
460
460
Other Language Changes
461
461
======================
462
462
463
- * Add :ref: `perf_profiling ` through the new
464
- environment variable :envvar: `PYTHONPERFSUPPORT `,
465
- the new command-line option :option: `-X perf <-X> `,
463
+ * Add :ref: `support for the perf profiler < perf_profiling > ` through the new
464
+ environment variable :envvar: `PYTHONPERFSUPPORT `
465
+ and command-line option :option: `-X perf <-X> `,
466
466
as well as the new :func: `sys.activate_stack_trampoline `,
467
467
:func: `sys.deactivate_stack_trampoline `,
468
- and :func: `sys.is_stack_trampoline_active ` APIs .
468
+ and :func: `sys.is_stack_trampoline_active ` functions .
469
469
(Design by Pablo Galindo. Contributed by Pablo Galindo and Christian Heimes
470
470
with contributions from Gregory P. Smith [Google] and Mark Shannon
471
471
in :gh: `96123 `.)
@@ -474,7 +474,7 @@ Other Language Changes
474
474
have a new a *filter * argument that allows limiting tar features than may be
475
475
surprising or dangerous, such as creating files outside the destination
476
476
directory.
477
- See :ref: `tarfile-extraction-filter ` for details.
477
+ See :ref: `tarfile extraction filters < tarfile -extraction-filter> ` for details.
478
478
In Python 3.14, the default will switch to ``'data' ``.
479
479
(Contributed by Petr Viktorin in :pep: `706 `.)
480
480
@@ -502,8 +502,8 @@ Other Language Changes
502
502
* A backslash-character pair that is not a valid escape sequence now generates
503
503
a :exc: `SyntaxWarning `, instead of :exc: `DeprecationWarning `.
504
504
For example, ``re.compile("\d+\.\d+") `` now emits a :exc: `SyntaxWarning `
505
- (``"\d" `` is an invalid escape sequence) , use raw strings for regular
506
- expression: ``re.compile(r"\d+\.\d+") ``.
505
+ (``"\d" `` is an invalid escape sequence, use raw strings for regular
506
+ expression: ``re.compile(r"\d+\.\d+") ``) .
507
507
In a future Python version, :exc: `SyntaxError ` will eventually be raised,
508
508
instead of :exc: `SyntaxWarning `.
509
509
(Contributed by Victor Stinner in :gh: `98401 `.)
@@ -532,7 +532,7 @@ Other Language Changes
532
532
floats or mixed ints and floats.
533
533
(Contributed by Raymond Hettinger in :gh: `100425 `.)
534
534
535
- * Exceptions raised in a typeobject 's ``__set_name__ `` method are no longer
535
+ * Exceptions raised in a class or type 's ``__set_name__ `` method are no longer
536
536
wrapped by a :exc: `RuntimeError `. Context information is added to the
537
537
exception as a :pep: `678 ` note. (Contributed by Irit Katriel in :gh: `77757 `.)
538
538
0 commit comments