gh-129724: Intern code object names before merging them with constants (GH-161457)

makecode() merges the co_names and co_localsplusnames tuples with the
constant cache, so they can become an equal tuple constant of another
code object, and _PyCode_New() then interns the items of that tuple in
place.  If an equal string was already interned in the process, the
string of the constant was replaced by it; otherwise the string of the
constant itself became the interned one.  The constants which are the
same object, and so the marshal output, depended on the process state.

The parser interns identifiers and the compiler interns the ASCII
identifier-like string constants, so this needs a name which is not
interned yet and is not an ASCII identifier: a private name of a class
with a non-ASCII name, which each compilation mangles into a new string,
or an identifier of an AST passed to compile() which was not created by
the parser.

Intern the names before the merge.
3 files changed