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