Python-checkins
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
March 2023
- 1 participants
- 425 discussions
https://github.com/python/cpython/commit/4abf1f1e3fe91f905faa6dd269c7a9aefe…
commit: 4abf1f1e3fe91f905faa6dd269c7a9aefea2a5a8
branch: 3.10
author: Steve Dower <steve.dower(a)python.org>
committer: zooba <steve.dower(a)microsoft.com>
date: 2023-03-29T15:33:39+01:00
summary:
gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)
See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-… for details of the issue. It only applies to version 14.34.
files:
M PCbuild/pyproject.props
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index f3068978fcbc..28fa0e8bf287 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -21,6 +21,13 @@
<LinkIncremental Condition="$(Configuration) != 'Debug'">false</LinkIncremental>
</PropertyGroup>
+ <PropertyGroup Label="MSVC Bug Workarounds" Condition="$(VCToolsVersion) != ''">
+ <_VCToolsVersion>$([System.Version]::Parse(`$(VCToolsVersion)`).Major).$([System.Version]::Parse(`$(VCToolsVersion)`).Minor)</_VCToolsVersion>
+
+ <!-- See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-… -->
+ <MSVCHasBrokenARM64Clamping Condition="$(_VCToolsVersion) == '14.34'">true</MSVCHasBrokenARM64Clamping>
+ </PropertyGroup>
+
<PropertyGroup>
<_DebugPreprocessorDefinition>NDEBUG;</_DebugPreprocessorDefinition>
<_DebugPreprocessorDefinition Condition="$(Configuration) == 'Debug'">_DEBUG;</_DebugPreprocessorDefinition>
@@ -47,6 +54,7 @@
<WholeProgramOptimization>true</WholeProgramOptimization>
<ControlFlowGuard Condition="$(EnableControlFlowGuard) != ''">$(EnableControlFlowGuard)</ControlFlowGuard>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="$(MSVCHasBrokenARM64Clamping) == 'true' and $(Platform) == 'ARM64'">-d2pattern-opt-disable:-932189325 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ClCompile Condition="$(Configuration) == 'Debug'">
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -76,6 +84,7 @@
<LinkTimeCodeGeneration Condition="$(SupportPGO) and $(Configuration) == 'PGUpdate'">PGUpdate</LinkTimeCodeGeneration>
<AdditionalDependencies>advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions Condition="$(Configuration) != 'Debug'">/OPT:REF,NOICF /CGTHREADS:1 /PDBTHREADS:1 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="$(MSVCHasBrokenARM64Clamping) == 'true' and $(Platform) == 'ARM64'">-d2:-pattern-opt-disable:-932189325 %(AdditionalOptions)</AdditionalOptions>
</Link>
<Lib>
<LinkTimeCodeGeneration Condition="$(Configuration) == 'Release'">true</LinkTimeCodeGeneration>
1
0
https://github.com/python/cpython/commit/cbe14c87c68af19aba3a0001fe35c5310a…
commit: cbe14c87c68af19aba3a0001fe35c5310a083ff0
branch: 3.11
author: Steve Dower <steve.dower(a)python.org>
committer: zooba <steve.dower(a)microsoft.com>
date: 2023-03-29T15:33:29+01:00
summary:
gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)
See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-… for details of the issue. It only applies to version 14.34.
files:
M PCbuild/pyproject.props
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index e398b333572e..b1b04472bb50 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -21,6 +21,13 @@
<LinkIncremental Condition="$(Configuration) != 'Debug'">false</LinkIncremental>
</PropertyGroup>
+ <PropertyGroup Label="MSVC Bug Workarounds" Condition="$(VCToolsVersion) != ''">
+ <_VCToolsVersion>$([System.Version]::Parse(`$(VCToolsVersion)`).Major).$([System.Version]::Parse(`$(VCToolsVersion)`).Minor)</_VCToolsVersion>
+
+ <!-- See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-… -->
+ <MSVCHasBrokenARM64Clamping Condition="$(_VCToolsVersion) == '14.34'">true</MSVCHasBrokenARM64Clamping>
+ </PropertyGroup>
+
<PropertyGroup>
<_DebugPreprocessorDefinition>NDEBUG;</_DebugPreprocessorDefinition>
<_DebugPreprocessorDefinition Condition="$(Configuration) == 'Debug'">_DEBUG;</_DebugPreprocessorDefinition>
@@ -47,6 +54,7 @@
<ControlFlowGuard Condition="$(EnableControlFlowGuard) != ''">$(EnableControlFlowGuard)</ControlFlowGuard>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <AdditionalOptions Condition="$(MSVCHasBrokenARM64Clamping) == 'true' and $(Platform) == 'ARM64'">-d2pattern-opt-disable:-932189325 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ClCompile Condition="$(Configuration) == 'Debug'">
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -76,6 +84,7 @@
<LinkTimeCodeGeneration Condition="$(SupportPGO) and $(Configuration) == 'PGUpdate'">PGUpdate</LinkTimeCodeGeneration>
<AdditionalDependencies>advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions Condition="$(Configuration) != 'Debug'">/OPT:REF,NOICF %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="$(MSVCHasBrokenARM64Clamping) == 'true' and $(Platform) == 'ARM64'">-d2:-pattern-opt-disable:-932189325 %(AdditionalOptions)</AdditionalOptions>
</Link>
<Lib>
<LinkTimeCodeGeneration Condition="$(Configuration) == 'Release'">true</LinkTimeCodeGeneration>
1
0
29 Mar '23
https://github.com/python/cpython/commit/e375bff03736f809fbc234010c087ef9d7…
commit: e375bff03736f809fbc234010c087ef9d7e0d384
branch: main
author: gaogaotiantian <gaogaotiantian(a)hotmail.com>
committer: ambv <lukasz(a)langa.pl>
date: 2023-03-29T12:09:12+02:00
summary:
gh-103068: Check condition expression of breakpoints for pdb (#103069)
Co-authored-by: Łukasz Langa <lukasz(a)langa.pl>
Co-authored-by: Artem Mukhin <ortem00(a)gmail.com>
files:
A Misc/NEWS.d/next/Library/2023-03-28-05-14-59.gh-issue-103068.YQTmrA.rst
M Lib/pdb.py
M Lib/test/test_pdb.py
diff --git a/Lib/pdb.py b/Lib/pdb.py
index d402de1192f9..3a06cd00ad2b 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -377,8 +377,7 @@ def user_exception(self, frame, exc_info):
# stop when the debuggee is returning from such generators.
prefix = 'Internal ' if (not exc_traceback
and exc_type is StopIteration) else ''
- self.message('%s%s' % (prefix,
- traceback.format_exception_only(exc_type, exc_value)[-1].strip()))
+ self.message('%s%s' % (prefix, self._format_exc(exc_value)))
self.interaction(frame, exc_traceback)
# General interaction function
@@ -399,7 +398,7 @@ def preloop(self):
displaying = self.displaying.get(self.curframe)
if displaying:
for expr, oldvalue in displaying.items():
- newvalue, _ = self._getval_except(expr)
+ newvalue = self._getval_except(expr)
# check for identity first; this prevents custom __eq__ to
# be called at every loop, and also prevents instances whose
# fields are changed to be displayed
@@ -702,6 +701,9 @@ def do_break(self, arg, temporary = 0):
if comma > 0:
# parse stuff after comma: "condition"
cond = arg[comma+1:].lstrip()
+ if err := self._compile_error_message(cond):
+ self.error('Invalid condition %s: %r' % (cond, err))
+ return
arg = arg[:comma].rstrip()
# parse stuff before comma: [filename:]lineno | function
colon = arg.rfind(':')
@@ -887,6 +889,9 @@ def do_condition(self, arg):
args = arg.split(' ', 1)
try:
cond = args[1]
+ if err := self._compile_error_message(cond):
+ self.error('Invalid condition %s: %r' % (cond, err))
+ return
except IndexError:
cond = None
try:
@@ -1246,16 +1251,15 @@ def _getval(self, arg):
def _getval_except(self, arg, frame=None):
try:
if frame is None:
- return eval(arg, self.curframe.f_globals, self.curframe_locals), None
+ return eval(arg, self.curframe.f_globals, self.curframe_locals)
else:
- return eval(arg, frame.f_globals, frame.f_locals), None
+ return eval(arg, frame.f_globals, frame.f_locals)
except BaseException as exc:
- err = traceback.format_exception_only(exc)[-1].strip()
- return _rstr('** raised %s **' % err), exc
+ return _rstr('** raised %s **' % self._format_exc(exc))
def _error_exc(self):
- exc_info = sys.exc_info()[:2]
- self.error(traceback.format_exception_only(*exc_info)[-1].strip())
+ exc = sys.exc_info()[1]
+ self.error(self._format_exc(exc))
def _msg_val_func(self, arg, func):
try:
@@ -1443,10 +1447,10 @@ def do_display(self, arg):
else:
self.message('No expression is being displayed')
else:
- val, exc = self._getval_except(arg)
- if isinstance(exc, SyntaxError):
- self.message('Unable to display %s: %r' % (arg, val))
+ if err := self._compile_error_message(arg):
+ self.error('Unable to display %s: %r' % (arg, err))
else:
+ val = self._getval_except(arg)
self.displaying.setdefault(self.curframe, {})[arg] = val
self.message('display %s: %r' % (arg, val))
@@ -1647,6 +1651,16 @@ def _run(self, target: Union[_ModuleTarget, _ScriptTarget]):
self.run(target.code)
+ def _format_exc(self, exc: BaseException):
+ return traceback.format_exception_only(exc)[-1].strip()
+
+ def _compile_error_message(self, expr):
+ """Return the error message as string if compiling `expr` fails."""
+ try:
+ compile(expr, "<stdin>", "eval")
+ except SyntaxError as exc:
+ return _rstr(self._format_exc(exc))
+ return ""
# Collect all command help into docstring, if not run with -OO
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
index ae9c5d73e2da..de2bab464957 100644
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -240,9 +240,11 @@ def test_pdb_breakpoint_commands():
>>> with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE
... 'break 3',
+ ... 'break 4, +',
... 'disable 1',
... 'ignore 1 10',
... 'condition 1 1 < 2',
+ ... 'condition 1 1 <',
... 'break 4',
... 'break 4',
... 'break',
@@ -264,6 +266,8 @@ def test_pdb_breakpoint_commands():
... 'commands 10', # out of range
... 'commands a', # display help
... 'commands 4', # already deleted
+ ... 'break 6, undefined', # condition causing `NameError` during evaluation
+ ... 'continue', # will stop, ignoring runtime error
... 'continue',
... ]):
... test_function()
@@ -271,12 +275,16 @@ def test_pdb_breakpoint_commands():
-> print(1)
(Pdb) break 3
Breakpoint 1 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:3
+ (Pdb) break 4, +
+ *** Invalid condition +: SyntaxError: invalid syntax
(Pdb) disable 1
Disabled breakpoint 1 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:3
(Pdb) ignore 1 10
Will ignore next 10 crossings of breakpoint 1.
(Pdb) condition 1 1 < 2
New condition set for breakpoint 1.
+ (Pdb) condition 1 1 <
+ *** Invalid condition 1 <: SyntaxError: invalid syntax
(Pdb) break 4
Breakpoint 2 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:4
(Pdb) break 4
@@ -331,8 +339,13 @@ def test_pdb_breakpoint_commands():
end
(Pdb) commands 4
*** cannot set commands: Breakpoint 4 already deleted
+ (Pdb) break 6, undefined
+ Breakpoint 5 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:6
(Pdb) continue
3
+ > <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>(6)test_function()
+ -> print(4)
+ (Pdb) continue
4
"""
@@ -597,13 +610,14 @@ def test_pdb_display_command():
... 'undisplay',
... 'display a < 1',
... 'n',
+ ... 'display undefined',
... 'continue',
... ]):
... test_function()
> <doctest test.test_pdb.test_pdb_display_command[0]>(4)test_function()
-> a = 1
(Pdb) display +
- Unable to display +: ** raised SyntaxError: invalid syntax **
+ *** Unable to display +: SyntaxError: invalid syntax
(Pdb) display
No expression is being displayed
(Pdb) display a
@@ -627,6 +641,8 @@ def test_pdb_display_command():
(Pdb) n
> <doctest test.test_pdb.test_pdb_display_command[0]>(7)test_function()
-> a = 4
+ (Pdb) display undefined
+ display undefined: ** raised NameError: name 'undefined' is not defined **
(Pdb) continue
"""
diff --git a/Misc/NEWS.d/next/Library/2023-03-28-05-14-59.gh-issue-103068.YQTmrA.rst b/Misc/NEWS.d/next/Library/2023-03-28-05-14-59.gh-issue-103068.YQTmrA.rst
new file mode 100644
index 000000000000..71c142c30f4e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-03-28-05-14-59.gh-issue-103068.YQTmrA.rst
@@ -0,0 +1,2 @@
+It's no longer possible to register conditional breakpoints in
+:class:`~pdb.Pdb` that raise :exc:`SyntaxError`. Patch by Tian Gao.
1
0
[3.10] gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst (GH-102635) (GH-103107)
by vsajip 29 Mar '23
by vsajip 29 Mar '23
29 Mar '23
https://github.com/python/cpython/commit/473fd7bbf0508074f28f020801c207a8d3…
commit: 473fd7bbf0508074f28f020801c207a8d379637b
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington(a)users.noreply.github.com>
committer: vsajip <vinay_sajip(a)yahoo.co.uk>
date: 2023-03-29T10:05:29+01:00
summary:
[3.10] gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst (GH-102635) (GH-103107)
(cherry picked from commit d835b3f05de7e2d800138e5969eeb9656b0ed860)
Co-authored-by: Matěj Cepl <mcepl(a)cepl.eu>
files:
M Doc/howto/logging-cookbook.rst
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index 1272ea1e3998..ee1471a35f1a 100644
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -340,10 +340,12 @@ adding a ``filters`` section parallel to ``formatters`` and ``handlers``:
.. code-block:: json
- "filters": {
- "warnings_and_below": {
- "()" : "__main__.filter_maker",
- "level": "WARNING"
+ {
+ "filters": {
+ "warnings_and_below": {
+ "()" : "__main__.filter_maker",
+ "level": "WARNING"
+ }
}
}
@@ -351,12 +353,14 @@ and changing the section on the ``stdout`` handler to add it:
.. code-block:: json
- "stdout": {
- "class": "logging.StreamHandler",
- "level": "INFO",
- "formatter": "simple",
- "stream": "ext://sys.stdout",
- "filters": ["warnings_and_below"]
+ {
+ "stdout": {
+ "class": "logging.StreamHandler",
+ "level": "INFO",
+ "formatter": "simple",
+ "stream": "ext://sys.stdout",
+ "filters": ["warnings_and_below"]
+ }
}
A filter is just a function, so we can define the ``filter_maker`` (a factory
1
0
[3.11] gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst (GH-102635) (GH-103106)
by vsajip 29 Mar '23
by vsajip 29 Mar '23
29 Mar '23
https://github.com/python/cpython/commit/d189e2db0bca60eba328cc31b86e62a1e2…
commit: d189e2db0bca60eba328cc31b86e62a1e2b3647a
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington(a)users.noreply.github.com>
committer: vsajip <vinay_sajip(a)yahoo.co.uk>
date: 2023-03-29T10:04:53+01:00
summary:
[3.11] gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst (GH-102635) (GH-103106)
(cherry picked from commit d835b3f05de7e2d800138e5969eeb9656b0ed860)
Co-authored-by: Matěj Cepl <mcepl(a)cepl.eu>
files:
M Doc/howto/logging-cookbook.rst
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index e4338ab912ae..ffb566c1e86d 100644
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -340,10 +340,12 @@ adding a ``filters`` section parallel to ``formatters`` and ``handlers``:
.. code-block:: json
- "filters": {
- "warnings_and_below": {
- "()" : "__main__.filter_maker",
- "level": "WARNING"
+ {
+ "filters": {
+ "warnings_and_below": {
+ "()" : "__main__.filter_maker",
+ "level": "WARNING"
+ }
}
}
@@ -351,12 +353,14 @@ and changing the section on the ``stdout`` handler to add it:
.. code-block:: json
- "stdout": {
- "class": "logging.StreamHandler",
- "level": "INFO",
- "formatter": "simple",
- "stream": "ext://sys.stdout",
- "filters": ["warnings_and_below"]
+ {
+ "stdout": {
+ "class": "logging.StreamHandler",
+ "level": "INFO",
+ "formatter": "simple",
+ "stream": "ext://sys.stdout",
+ "filters": ["warnings_and_below"]
+ }
}
A filter is just a function, so we can define the ``filter_maker`` (a factory
1
0
29 Mar '23
https://github.com/python/cpython/commit/d835b3f05de7e2d800138e5969eeb9656b…
commit: d835b3f05de7e2d800138e5969eeb9656b0ed860
branch: main
author: Matěj Cepl <mcepl(a)cepl.eu>
committer: vsajip <vinay_sajip(a)yahoo.co.uk>
date: 2023-03-29T09:52:53+01:00
summary:
gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst (GH-102635)
files:
M Doc/howto/logging-cookbook.rst
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index 1a0afb6940da..6ef252d709e7 100644
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -340,10 +340,12 @@ adding a ``filters`` section parallel to ``formatters`` and ``handlers``:
.. code-block:: json
- "filters": {
- "warnings_and_below": {
- "()" : "__main__.filter_maker",
- "level": "WARNING"
+ {
+ "filters": {
+ "warnings_and_below": {
+ "()" : "__main__.filter_maker",
+ "level": "WARNING"
+ }
}
}
@@ -351,12 +353,14 @@ and changing the section on the ``stdout`` handler to add it:
.. code-block:: json
- "stdout": {
- "class": "logging.StreamHandler",
- "level": "INFO",
- "formatter": "simple",
- "stream": "ext://sys.stdout",
- "filters": ["warnings_and_below"]
+ {
+ "stdout": {
+ "class": "logging.StreamHandler",
+ "level": "INFO",
+ "formatter": "simple",
+ "stream": "ext://sys.stdout",
+ "filters": ["warnings_and_below"]
+ }
}
A filter is just a function, so we can define the ``filter_maker`` (a factory
1
0
gh-103054: typing: Improve `Callable` type substitution tests (GH-103055)
by miss-islington 29 Mar '23
by miss-islington 29 Mar '23
29 Mar '23
https://github.com/python/cpython/commit/766038d995f26eec57d62b1143183e6f2c…
commit: 766038d995f26eec57d62b1143183e6f2c1b14e6
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington(a)users.noreply.github.com>
committer: miss-islington <31488909+miss-islington(a)users.noreply.github.com>
date: 2023-03-28T20:28:34-07:00
summary:
gh-103054: typing: Improve `Callable` type substitution tests (GH-103055)
(cherry picked from commit 60bdc16b459cf8f7b359c7f87d8ae6c5928147a4)
Co-authored-by: Nikita Sobolev <mail(a)sobolevn.me>
Co-authored-by: Alex Waygood <Alex.Waygood(a)Gmail.com>
Co-authored-by: Eclips4 <80244920+Eclips4(a)users.noreply.github.com>
files:
M Lib/test/test_typing.py
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index 558d928167ac..4de24472c2c0 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -2044,6 +2044,48 @@ def test_concatenate(self):
Callable[Concatenate[int, str, P2], int])
self.assertEqual(C[...], Callable[Concatenate[int, ...], int])
+ def test_nested_paramspec(self):
+ # Since Callable has some special treatment, we want to be sure
+ # that substituion works correctly, see gh-103054
+ Callable = self.Callable
+ P = ParamSpec('P')
+ P2 = ParamSpec('P2')
+ T = TypeVar('T')
+ T2 = TypeVar('T2')
+ Ts = TypeVarTuple('Ts')
+ class My(Generic[P, T]):
+ pass
+
+ self.assertEqual(My.__parameters__, (P, T))
+
+ C1 = My[[int, T2], Callable[P2, T2]]
+ self.assertEqual(C1.__args__, ((int, T2), Callable[P2, T2]))
+ self.assertEqual(C1.__parameters__, (T2, P2))
+ self.assertEqual(C1[str, [list[int], bytes]],
+ My[[int, str], Callable[[list[int], bytes], str]])
+
+ C2 = My[[Callable[[T2], int], list[T2]], str]
+ self.assertEqual(C2.__args__, ((Callable[[T2], int], list[T2]), str))
+ self.assertEqual(C2.__parameters__, (T2,))
+ self.assertEqual(C2[list[str]],
+ My[[Callable[[list[str]], int], list[list[str]]], str])
+
+ C3 = My[[Callable[P2, T2], T2], T2]
+ self.assertEqual(C3.__args__, ((Callable[P2, T2], T2), T2))
+ self.assertEqual(C3.__parameters__, (P2, T2))
+ self.assertEqual(C3[[], int],
+ My[[Callable[[], int], int], int])
+ self.assertEqual(C3[[str, bool], int],
+ My[[Callable[[str, bool], int], int], int])
+ self.assertEqual(C3[[str, bool], T][int],
+ My[[Callable[[str, bool], int], int], int])
+
+ C4 = My[[Callable[[int, *Ts, str], T2], T2], T2]
+ self.assertEqual(C4.__args__, ((Callable[[int, *Ts, str], T2], T2), T2))
+ self.assertEqual(C4.__parameters__, (Ts, T2))
+ self.assertEqual(C4[bool, bytes, float],
+ My[[Callable[[int, bool, bytes, str], float], float], float])
+
def test_errors(self):
Callable = self.Callable
alias = Callable[[int, str], float]
1
0
29 Mar '23
https://github.com/python/cpython/commit/60bdc16b459cf8f7b359c7f87d8ae6c592…
commit: 60bdc16b459cf8f7b359c7f87d8ae6c5928147a4
branch: main
author: Nikita Sobolev <mail(a)sobolevn.me>
committer: JelleZijlstra <jelle.zijlstra(a)gmail.com>
date: 2023-03-28T20:04:26-07:00
summary:
gh-103054: typing: Improve `Callable` type substitution tests (#103055)
Co-authored-by: Alex Waygood <Alex.Waygood(a)Gmail.com>
Co-authored-by: Eclips4 <80244920+Eclips4(a)users.noreply.github.com>
files:
M Lib/test/test_typing.py
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index f448b0ee60a9..23bf2b5e183a 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -2049,6 +2049,48 @@ def test_concatenate(self):
Callable[Concatenate[int, str, P2], int])
self.assertEqual(C[...], Callable[Concatenate[int, ...], int])
+ def test_nested_paramspec(self):
+ # Since Callable has some special treatment, we want to be sure
+ # that substituion works correctly, see gh-103054
+ Callable = self.Callable
+ P = ParamSpec('P')
+ P2 = ParamSpec('P2')
+ T = TypeVar('T')
+ T2 = TypeVar('T2')
+ Ts = TypeVarTuple('Ts')
+ class My(Generic[P, T]):
+ pass
+
+ self.assertEqual(My.__parameters__, (P, T))
+
+ C1 = My[[int, T2], Callable[P2, T2]]
+ self.assertEqual(C1.__args__, ((int, T2), Callable[P2, T2]))
+ self.assertEqual(C1.__parameters__, (T2, P2))
+ self.assertEqual(C1[str, [list[int], bytes]],
+ My[[int, str], Callable[[list[int], bytes], str]])
+
+ C2 = My[[Callable[[T2], int], list[T2]], str]
+ self.assertEqual(C2.__args__, ((Callable[[T2], int], list[T2]), str))
+ self.assertEqual(C2.__parameters__, (T2,))
+ self.assertEqual(C2[list[str]],
+ My[[Callable[[list[str]], int], list[list[str]]], str])
+
+ C3 = My[[Callable[P2, T2], T2], T2]
+ self.assertEqual(C3.__args__, ((Callable[P2, T2], T2), T2))
+ self.assertEqual(C3.__parameters__, (P2, T2))
+ self.assertEqual(C3[[], int],
+ My[[Callable[[], int], int], int])
+ self.assertEqual(C3[[str, bool], int],
+ My[[Callable[[str, bool], int], int], int])
+ self.assertEqual(C3[[str, bool], T][int],
+ My[[Callable[[str, bool], int], int], int])
+
+ C4 = My[[Callable[[int, *Ts, str], T2], T2], T2]
+ self.assertEqual(C4.__args__, ((Callable[[int, *Ts, str], T2], T2), T2))
+ self.assertEqual(C4.__parameters__, (Ts, T2))
+ self.assertEqual(C4[bool, bytes, float],
+ My[[Callable[[int, bool, bytes, str], float], float], float])
+
def test_errors(self):
Callable = self.Callable
alias = Callable[[int, str], float]
1
0
https://github.com/python/cpython/commit/24ba507b1dd70cf468a1beadea6ca6336f…
commit: 24ba507b1dd70cf468a1beadea6ca6336fe1d40f
branch: main
author: Steve Dower <steve.dower(a)python.org>
committer: zooba <steve.dower(a)microsoft.com>
date: 2023-03-29T00:47:13+01:00
summary:
gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)
See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-… for details of the issue. It only applies to version 14.34.
files:
M PCbuild/pyproject.props
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 92c7849d3bcf..36c4c269d05d 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -21,6 +21,13 @@
<LinkIncremental Condition="$(Configuration) != 'Debug'">false</LinkIncremental>
</PropertyGroup>
+ <PropertyGroup Label="MSVC Bug Workarounds" Condition="$(VCToolsVersion) != ''">
+ <_VCToolsVersion>$([System.Version]::Parse(`$(VCToolsVersion)`).Major).$([System.Version]::Parse(`$(VCToolsVersion)`).Minor)</_VCToolsVersion>
+
+ <!-- See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-… -->
+ <MSVCHasBrokenARM64Clamping Condition="$(_VCToolsVersion) == '14.34'">true</MSVCHasBrokenARM64Clamping>
+ </PropertyGroup>
+
<PropertyGroup>
<_DebugPreprocessorDefinition>NDEBUG;</_DebugPreprocessorDefinition>
<_DebugPreprocessorDefinition Condition="$(Configuration) == 'Debug'">_DEBUG;</_DebugPreprocessorDefinition>
@@ -50,6 +57,7 @@
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions Condition="$(PlatformToolset) == 'ClangCL'">-Wno-deprecated-non-prototype -Wno-unused-label -Wno-pointer-sign -Wno-incompatible-pointer-types-discards-qualifiers -Wno-unused-function %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions Condition="$(Configuration) != 'Debug' and $(PlatformToolset) == 'ClangCL'">-flto %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="$(MSVCHasBrokenARM64Clamping) == 'true' and $(Platform) == 'ARM64'">-d2pattern-opt-disable:-932189325 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ClCompile Condition="$(Configuration) == 'Debug'">
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -79,6 +87,7 @@
<LinkTimeCodeGeneration Condition="$(SupportPGO) and $(Configuration) == 'PGUpdate'">PGUpdate</LinkTimeCodeGeneration>
<AdditionalDependencies>advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions Condition="$(Configuration) != 'Debug'">/OPT:REF,NOICF %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="$(MSVCHasBrokenARM64Clamping) == 'true' and $(Platform) == 'ARM64'">-d2:-pattern-opt-disable:-932189325 %(AdditionalOptions)</AdditionalOptions>
</Link>
<Lib>
<LinkTimeCodeGeneration Condition="$(Configuration) == 'Release'">true</LinkTimeCodeGeneration>
1
0
gh-100227: Move the Dict of Interned Strings to PyInterpreterState (gh-102339)
by ericsnowcurrently 28 Mar '23
by ericsnowcurrently 28 Mar '23
28 Mar '23
https://github.com/python/cpython/commit/ba65a065cf07a7a9f53be61057a090f731…
commit: ba65a065cf07a7a9f53be61057a090f7311a5ad7
branch: main
author: Eric Snow <ericsnowcurrently(a)gmail.com>
committer: ericsnowcurrently <ericsnowcurrently(a)gmail.com>
date: 2023-03-28T12:52:28-06:00
summary:
gh-100227: Move the Dict of Interned Strings to PyInterpreterState (gh-102339)
We can revisit the options for keeping it global later, if desired. For now the approach seems quite complex, so we've gone with the simpler isolation solution in the meantime.
https://github.com/python/cpython/issues/100227
files:
M Include/internal/pycore_global_objects.h
M Include/internal/pycore_runtime.h
M Include/internal/pycore_unicodeobject.h
M Include/internal/pycore_unicodeobject_generated.h
M Objects/unicodeobject.c
M Tools/build/generate_global_objects.py
diff --git a/Include/internal/pycore_global_objects.h b/Include/internal/pycore_global_objects.h
index 9957da1fc5f2..64d9384df9c5 100644
--- a/Include/internal/pycore_global_objects.h
+++ b/Include/internal/pycore_global_objects.h
@@ -23,13 +23,6 @@ extern "C" {
// Only immutable objects should be considered runtime-global.
// All others must be per-interpreter.
-#define _Py_CACHED_OBJECT(NAME) \
- _PyRuntime.cached_objects.NAME
-
-struct _Py_cached_objects {
- PyObject *interned_strings;
-};
-
#define _Py_GLOBAL_OBJECT(NAME) \
_PyRuntime.static_objects.NAME
#define _Py_SINGLETON(NAME) \
@@ -65,6 +58,8 @@ struct _Py_static_objects {
(interp)->cached_objects.NAME
struct _Py_interp_cached_objects {
+ PyObject *interned_strings;
+
/* AST */
PyObject *str_replace_inf;
diff --git a/Include/internal/pycore_runtime.h b/Include/internal/pycore_runtime.h
index de757dfa93bc..8877b282bc38 100644
--- a/Include/internal/pycore_runtime.h
+++ b/Include/internal/pycore_runtime.h
@@ -163,7 +163,6 @@ typedef struct pyruntimestate {
} types;
/* All the objects that are shared by the runtime's interpreters. */
- struct _Py_cached_objects cached_objects;
struct _Py_static_objects static_objects;
/* The following fields are here to avoid allocation during init.
diff --git a/Include/internal/pycore_unicodeobject.h b/Include/internal/pycore_unicodeobject.h
index 19faceebf1d8..ff97b9a623d2 100644
--- a/Include/internal/pycore_unicodeobject.h
+++ b/Include/internal/pycore_unicodeobject.h
@@ -59,6 +59,7 @@ struct _Py_unicode_state {
struct _Py_unicode_ids ids;
};
+extern void _PyUnicode_InternInPlace(PyInterpreterState *interp, PyObject **p);
extern void _PyUnicode_ClearInterned(PyInterpreterState *interp);
diff --git a/Include/internal/pycore_unicodeobject_generated.h b/Include/internal/pycore_unicodeobject_generated.h
index 0a8865942e6d..7114a5416f25 100644
--- a/Include/internal/pycore_unicodeobject_generated.h
+++ b/Include/internal/pycore_unicodeobject_generated.h
@@ -10,2003 +10,2003 @@ extern "C" {
/* The following is auto-generated by Tools/build/generate_global_objects.py. */
static inline void
-_PyUnicode_InitStaticStrings(void) {
+_PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
PyObject *string;
string = &_Py_ID(CANCELLED);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(FINISHED);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(False);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(JSONDecodeError);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(PENDING);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(Py_Repr);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(TextIOWrapper);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(True);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(WarningMessage);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_WindowsConsoleIO);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__IOBase_closed);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__abc_tpflags__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__abs__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__abstractmethods__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__add__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__aenter__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__aexit__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__aiter__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__all__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__and__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__anext__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__annotations__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__args__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__asyncio_running_event_loop__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__await__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__bases__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__bool__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__build_class__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__builtins__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__bytes__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__call__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__cantrace__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__class__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__class_getitem__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__classcell__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__complex__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__contains__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__copy__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ctypes_from_outparam__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__del__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__delattr__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__delete__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__delitem__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__dict__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__dictoffset__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__dir__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__divmod__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__doc__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__enter__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__eq__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__exit__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__file__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__float__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__floordiv__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__format__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__fspath__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ge__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__get__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__getattr__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__getattribute__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__getinitargs__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__getitem__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__getnewargs__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__getnewargs_ex__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__getstate__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__gt__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__hash__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__iadd__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__iand__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ifloordiv__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ilshift__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__imatmul__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__imod__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__import__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__imul__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__index__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__init__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__init_subclass__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__instancecheck__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__int__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__invert__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ior__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ipow__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__irshift__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__isabstractmethod__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__isub__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__iter__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__itruediv__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ixor__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__le__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__len__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__length_hint__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__lltrace__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__loader__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__lshift__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__lt__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__main__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__matmul__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__missing__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__mod__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__module__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__mro_entries__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__mul__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__name__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ne__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__neg__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__new__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__newobj__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__newobj_ex__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__next__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__notes__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__or__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__orig_class__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__origin__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__package__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__parameters__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__path__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__pos__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__pow__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__prepare__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__qualname__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__radd__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rand__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rdivmod__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__reduce__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__reduce_ex__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__repr__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__reversed__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rfloordiv__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rlshift__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rmatmul__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rmod__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rmul__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__ror__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__round__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rpow__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rrshift__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rshift__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rsub__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rtruediv__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__rxor__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__set__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__set_name__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__setattr__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__setitem__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__setstate__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__sizeof__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__slotnames__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__slots__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__spec__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__str__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__sub__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__subclasscheck__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__subclasshook__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__truediv__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__trunc__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__typing_is_unpacked_typevartuple__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__typing_prepare_subst__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__typing_subst__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__typing_unpacked_tuple_args__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__warningregistry__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__weaklistoffset__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__weakref__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(__xor__);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_abc_impl);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_abstract_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_active);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_annotation);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_anonymous_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_argtypes_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_as_parameter_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_asyncio_future_blocking);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_blksize);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_bootstrap);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_check_retval_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_dealloc_warn);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_feature_version);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_fields_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_finalizing);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_find_and_load);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_fix_up_module);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_flags_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_get_sourcefile);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_handle_fromlist);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_initializing);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_io);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_is_text_encoding);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_length_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_limbo);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_lock_unlock_module);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_loop);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_needs_com_addref_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_pack_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_restype_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_showwarnmsg);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_shutdown);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_slotnames);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_strptime_datetime);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_swappedbytes_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_type_);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_uninitialized_submodules);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_warn_unawaited_coroutine);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(_xoptions);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(a);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(abs_tol);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(access);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(add);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(add_done_callback);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(after_in_child);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(after_in_parent);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(aggregate_class);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(append);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(argdefs);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(arguments);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(argv);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(as_integer_ratio);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(ast);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(attribute);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(authorizer_callback);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(autocommit);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(b);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(backtick);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(base);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(before);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(big);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(binary_form);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(block);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(buffer);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(buffer_callback);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(buffer_size);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(buffering);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(buffers);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(bufsize);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(builtins);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(byteorder);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(bytes);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(bytes_per_sep);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(c);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(c_call);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(c_exception);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(c_return);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(cached_statements);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(cadata);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(cafile);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(call);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(call_exception_handler);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(call_soon);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(cancel);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(capath);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(category);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(cb_type);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(certfile);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(check_same_thread);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(clear);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(close);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(closed);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(closefd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(closure);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_argcount);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_cellvars);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_code);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_consts);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_exceptiontable);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_filename);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_firstlineno);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_flags);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_freevars);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_kwonlyargcount);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_linetable);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_name);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_names);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_nlocals);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_posonlyargcount);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_qualname);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_stacksize);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(co_varnames);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(code);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(command);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(comment_factory);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(consts);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(context);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(cookie);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(copy);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(copyreg);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(coro);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(count);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(cwd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(d);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(data);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(database);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(decode);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(decoder);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(default);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(defaultaction);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(delete);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(depth);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(detect_types);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(deterministic);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(device);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dict);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dictcomp);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(difference_update);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(digest);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(digest_size);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(digestmod);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dir_fd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(discard);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dispatch_table);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(displayhook);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dklen);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(doc);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dont_inherit);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dst);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(dst_dir_fd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(duration);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(e);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(effective_ids);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(element_factory);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(encode);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(encoding);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(end);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(end_lineno);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(end_offset);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(endpos);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(env);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(errors);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(event);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(eventmask);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(exc_type);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(exc_value);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(excepthook);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(exception);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(exp);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(extend);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(facility);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(factory);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(false);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(family);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fanout);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fd2);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fdel);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fget);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(file);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(file_actions);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(filename);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fileno);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(filepath);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fillvalue);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(filters);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(final);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(find_class);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fix_imports);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(flags);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(flush);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(follow_symlinks);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(format);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(frequency);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(from_param);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fromlist);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fromtimestamp);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fromutc);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(fset);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(func);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(future);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(generation);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(genexpr);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(get);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(get_debug);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(get_event_loop);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(get_loop);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(get_source);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(getattr);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(getstate);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(gid);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(globals);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(groupindex);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(groups);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(handle);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(hash_name);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(header);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(headers);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(hi);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(hook);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(id);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(ident);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(ignore);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(imag);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(importlib);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(in_fd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(incoming);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(indexgroup);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(inf);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(inheritable);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(initial);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(initial_bytes);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(initial_value);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(initval);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(inner_size);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(input);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(insert_comments);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(insert_pis);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(instructions);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(intern);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(intersection);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(isatty);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(isinstance);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(isoformat);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(isolation_level);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(istext);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(item);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(items);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(iter);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(iterable);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(iterations);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(join);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(jump);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(keepends);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(key);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(keyfile);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(keys);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(kind);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(kw);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(kw1);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(kw2);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(lambda);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(last);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(last_exc);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(last_node);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(last_traceback);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(last_type);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(last_value);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(latin1);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(leaf_size);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(len);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(length);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(level);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(limit);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(line);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(line_buffering);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(lineno);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(listcomp);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(little);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(lo);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(locale);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(locals);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(logoption);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(loop);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(mapping);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(match);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(max_length);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(maxdigits);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(maxevents);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(maxmem);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(maxsplit);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(maxvalue);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(memLevel);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(memlimit);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(message);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(metaclass);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(method);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(mod);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(mode);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(module);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(module_globals);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(modules);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(mro);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(msg);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(mycmp);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(n);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(n_arg);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(n_fields);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(n_sequence_fields);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(n_unnamed_fields);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(name);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(name_from);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(namespace_separator);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(namespaces);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(narg);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(ndigits);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(new_limit);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(newline);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(newlines);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(next);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(node_depth);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(node_offset);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(ns);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(nstype);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(nt);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(null);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(number);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(obj);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(object);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(offset);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(offset_dst);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(offset_src);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(on_type_read);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(onceregistry);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(only_keys);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(oparg);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(opcode);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(open);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(opener);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(operation);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(optimize);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(options);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(order);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(out_fd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(outgoing);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(overlapped);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(owner);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(p);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(pages);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(parent);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(password);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(path);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(pattern);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(peek);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(persistent_id);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(persistent_load);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(person);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(pi_factory);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(pid);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(policy);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(pos);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(pos1);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(pos2);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(posix);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(print_file_and_line);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(priority);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(progress);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(progress_handler);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(proto);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(protocol);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(ps1);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(ps2);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(query);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(quotetabs);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(r);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(raw);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(read);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(read1);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(readable);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(readall);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(readinto);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(readinto1);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(readline);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(readonly);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(real);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(reducer_override);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(registry);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(rel_tol);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(reload);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(repl);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(replace);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(reserved);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(reset);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(resetids);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(return);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(reverse);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(reversed);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(s);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(salt);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sched_priority);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(scheduler);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(seek);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(seekable);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(selectors);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(self);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(send);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sep);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sequence);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(server_hostname);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(server_side);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(session);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(setcomp);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(setpgroup);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(setsid);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(setsigdef);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(setsigmask);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(setstate);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(shape);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(show_cmd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(signed);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(size);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sizehint);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(skip_file_prefixes);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sleep);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sock);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sort);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sound);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(source);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(source_traceback);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(src);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(src_dir_fd);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(stacklevel);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(start);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(statement);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(status);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(stderr);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(stdin);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(stdout);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(step);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(store_name);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(strategy);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(strftime);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(strict);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(strict_mode);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(string);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(sub_key);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(symmetric_difference_update);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tabsize);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tag);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(target);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(target_is_directory);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(task);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tb_frame);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tb_lasti);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tb_lineno);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tb_next);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tell);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(template);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(term);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(text);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(threading);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(throw);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(timeout);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(times);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(timetuple);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(top);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(trace_callback);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(traceback);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(trailers);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(translate);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(true);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(truncate);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(twice);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(txt);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(type);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tz);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(tzname);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(uid);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(unlink);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(unraisablehook);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(uri);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(usedforsecurity);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(value);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(values);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(version);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(volume);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(warnings);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(warnoptions);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(wbits);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(week);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(weekday);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(which);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(who);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(withdata);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(writable);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(write);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(write_through);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(x);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(year);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
string = &_Py_ID(zdict);
assert(_PyUnicode_CheckConsistency(string, 1));
- PyUnicode_InternInPlace(&string);
+ _PyUnicode_InternInPlace(interp, &string);
}
/* End auto-generated code */
#ifdef __cplusplus
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b9fb53147b9b..85e5ae735709 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -231,14 +231,32 @@ static inline PyObject* unicode_new_empty(void)
Another way to look at this is that to say that the actual reference
count of a string is: s->ob_refcnt + (s->state ? 2 : 0)
*/
-static inline PyObject *get_interned_dict(void)
+static inline PyObject *get_interned_dict(PyInterpreterState *interp)
{
- return _Py_CACHED_OBJECT(interned_strings);
+ return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
}
-static inline void set_interned_dict(PyObject *dict)
+static int
+init_interned_dict(PyInterpreterState *interp)
+{
+ assert(get_interned_dict(interp) == NULL);
+ PyObject *interned = interned = PyDict_New();
+ if (interned == NULL) {
+ return -1;
+ }
+ _Py_INTERP_CACHED_OBJECT(interp, interned_strings) = interned;
+ return 0;
+}
+
+static void
+clear_interned_dict(PyInterpreterState *interp)
{
- _Py_CACHED_OBJECT(interned_strings) = dict;
+ PyObject *interned = get_interned_dict(interp);
+ if (interned != NULL) {
+ PyDict_Clear(interned);
+ Py_DECREF(interned);
+ _Py_INTERP_CACHED_OBJECT(interp, interned_strings) = NULL;
+ }
}
#define _Py_RETURN_UNICODE_EMPTY() \
@@ -1520,12 +1538,12 @@ find_maxchar_surrogates(const wchar_t *begin, const wchar_t *end,
static void
unicode_dealloc(PyObject *unicode)
{
+ PyInterpreterState *interp = _PyInterpreterState_GET();
#ifdef Py_DEBUG
if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
_Py_FatalRefcountError("deallocating an Unicode singleton");
}
#endif
- PyObject *interned = get_interned_dict();
if (PyUnicode_CHECK_INTERNED(unicode)) {
/* Revive the dead object temporarily. PyDict_DelItem() removes two
references (key and value) which were ignored by
@@ -1534,6 +1552,8 @@ unicode_dealloc(PyObject *unicode)
PyDict_DelItem(). */
assert(Py_REFCNT(unicode) == 0);
Py_SET_REFCNT(unicode, 3);
+ PyObject *interned = get_interned_dict(interp);
+ assert(interned != NULL);
if (PyDict_DelItem(interned, unicode) != 0) {
_PyErr_WriteUnraisableMsg("deletion of interned string failed",
NULL);
@@ -14529,34 +14549,29 @@ _PyUnicode_InitState(PyInterpreterState *interp)
PyStatus
_PyUnicode_InitGlobalObjects(PyInterpreterState *interp)
{
- if (!_Py_IsMainInterpreter(interp)) {
- return _PyStatus_OK();
- }
-
// Initialize the global interned dict
- PyObject *interned = PyDict_New();
- if (interned == NULL) {
+ if (init_interned_dict(interp)) {
PyErr_Clear();
return _PyStatus_ERR("failed to create interned dict");
}
- set_interned_dict(interned);
-
- /* Intern statically allocated string identifiers and deepfreeze strings.
- * This must be done before any module initialization so that statically
- * allocated string identifiers are used instead of heap allocated strings.
- * Deepfreeze uses the interned identifiers if present to save space
- * else generates them and they are interned to speed up dict lookups.
- */
- _PyUnicode_InitStaticStrings();
+ if (_Py_IsMainInterpreter(interp)) {
+ /* Intern statically allocated string identifiers and deepfreeze strings.
+ * This must be done before any module initialization so that statically
+ * allocated string identifiers are used instead of heap allocated strings.
+ * Deepfreeze uses the interned identifiers if present to save space
+ * else generates them and they are interned to speed up dict lookups.
+ */
+ _PyUnicode_InitStaticStrings(interp);
#ifdef Py_DEBUG
- assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));
+ assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));
- for (int i = 0; i < 256; i++) {
- assert(_PyUnicode_CheckConsistency(LATIN1(i), 1));
- }
+ for (int i = 0; i < 256; i++) {
+ assert(_PyUnicode_CheckConsistency(LATIN1(i), 1));
+ }
#endif
+ }
return _PyStatus_OK();
}
@@ -14586,7 +14601,7 @@ _PyUnicode_InitTypes(PyInterpreterState *interp)
void
-PyUnicode_InternInPlace(PyObject **p)
+_PyUnicode_InternInPlace(PyInterpreterState *interp, PyObject **p)
{
PyObject *s = *p;
#ifdef Py_DEBUG
@@ -14608,7 +14623,7 @@ PyUnicode_InternInPlace(PyObject **p)
return;
}
- PyObject *interned = get_interned_dict();
+ PyObject *interned = get_interned_dict(interp);
assert(interned != NULL);
PyObject *t = PyDict_SetDefault(interned, s, s);
@@ -14629,6 +14644,13 @@ PyUnicode_InternInPlace(PyObject **p)
_PyUnicode_STATE(s).interned = 1;
}
+void
+PyUnicode_InternInPlace(PyObject **p)
+{
+ PyInterpreterState *interp = _PyInterpreterState_GET();
+ _PyUnicode_InternInPlace(interp, p);
+}
+
// Function kept for the stable ABI.
PyAPI_FUNC(void) PyUnicode_InternImmortal(PyObject **);
void
@@ -14653,12 +14675,7 @@ PyUnicode_InternFromString(const char *cp)
void
_PyUnicode_ClearInterned(PyInterpreterState *interp)
{
- if (!_Py_IsMainInterpreter(interp)) {
- // interned dict is shared by all interpreters
- return;
- }
-
- PyObject *interned = get_interned_dict();
+ PyObject *interned = get_interned_dict(interp);
if (interned == NULL) {
return;
}
@@ -14693,9 +14710,7 @@ _PyUnicode_ClearInterned(PyInterpreterState *interp)
total_length);
#endif
- PyDict_Clear(interned);
- Py_DECREF(interned);
- set_interned_dict(NULL);
+ clear_interned_dict(interp);
}
@@ -15108,7 +15123,7 @@ _PyUnicode_EnableLegacyWindowsFSEncoding(void)
static inline int
unicode_is_finalizing(void)
{
- return (get_interned_dict() == NULL);
+ return (get_interned_dict(_PyInterpreterState_Main()) == NULL);
}
#endif
@@ -15131,14 +15146,13 @@ _PyUnicode_Fini(PyInterpreterState *interp)
{
struct _Py_unicode_state *state = &interp->unicode;
- if (_Py_IsMainInterpreter(interp)) {
- // _PyUnicode_ClearInterned() must be called before _PyUnicode_Fini()
- assert(get_interned_dict() == NULL);
- // bpo-47182: force a unicodedata CAPI capsule re-import on
- // subsequent initialization of main interpreter.
- }
+ // _PyUnicode_ClearInterned() must be called before _PyUnicode_Fini()
+ assert(get_interned_dict(interp) == NULL);
_PyUnicode_FiniEncodings(&state->fs_codec);
+
+ // bpo-47182: force a unicodedata CAPI capsule re-import on
+ // subsequent initialization of interpreter.
interp->unicode.ucnhash_capi = NULL;
unicode_clear_identifiers(state);
diff --git a/Tools/build/generate_global_objects.py b/Tools/build/generate_global_objects.py
index 1f53f02d41ef..c27817702bf9 100644
--- a/Tools/build/generate_global_objects.py
+++ b/Tools/build/generate_global_objects.py
@@ -354,14 +354,14 @@ def generate_static_strings_initializer(identifiers, strings):
printer.write(before)
printer.write(START)
printer.write("static inline void")
- with printer.block("_PyUnicode_InitStaticStrings(void)"):
+ with printer.block("_PyUnicode_InitStaticStrings(PyInterpreterState *interp)"):
printer.write(f'PyObject *string;')
for i in sorted(identifiers):
# This use of _Py_ID() is ignored by iter_global_strings()
# since iter_files() ignores .h files.
printer.write(f'string = &_Py_ID({i});')
printer.write(f'assert(_PyUnicode_CheckConsistency(string, 1));')
- printer.write(f'PyUnicode_InternInPlace(&string);')
+ printer.write(f'_PyUnicode_InternInPlace(interp, &string);')
# XXX What about "strings"?
printer.write(END)
printer.write(after)
1
0