Skip to content

Commit e6397d5

Browse files
committed
Shorten the NEWS entry
1 parent b8cab39 commit e6397d5

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
Fix the output of :mod:`marshal` for compiled code, and so the content of
2-
``.pyc`` files, depending on what was imported or compiled before in the
3-
process. A :class:`frozenset` constant (or, in the :term:`free-threaded
4-
build`, a :class:`slice` constant) used by several functions of a module was
5-
copied for each of them when one of its strings was equal to a string which
6-
was already interned. The compiler now replaces the strings of the
7-
constants by the interned ones before the code objects are created, while
8-
equal constants are still one object. Which strings are interned does not
9-
change, except for the strings of :class:`slice` constants made only of ASCII
10-
letters, digits and underscores, which are now interned in the default build
11-
like those of other constants.
2+
``.pyc`` files, varying with what was imported or compiled earlier in the
3+
process. Strings in :class:`slice` constants made only of ASCII letters,
4+
digits and underscores are now interned in the default build, like those of
5+
other constants.

0 commit comments

Comments
 (0)