[Python-checkins] gh-101524: Fix the ChannelID tp_name (gh-102655)

ericsnowcurrently webhook-mailer at python.org
Mon Mar 13 17:50:23 EDT 2023


https://github.com/python/cpython/commit/74885a08dbc7cc768d15711752957096d6a5a350
commit: 74885a08dbc7cc768d15711752957096d6a5a350
branch: main
author: Eric Snow <ericsnowcurrently at gmail.com>
committer: ericsnowcurrently <ericsnowcurrently at gmail.com>
date: 2023-03-13T15:50:16-06:00
summary:

gh-101524: Fix the ChannelID tp_name (gh-102655)

https://github.com/python/cpython/issues/101524

files:
M Modules/_xxinterpchannelsmodule.c

diff --git a/Modules/_xxinterpchannelsmodule.c b/Modules/_xxinterpchannelsmodule.c
index a0cd4a2363fb..fead12c963da 100644
--- a/Modules/_xxinterpchannelsmodule.c
+++ b/Modules/_xxinterpchannelsmodule.c
@@ -1806,7 +1806,7 @@ static PyType_Slot ChannelIDType_slots[] = {
 };
 
 static PyType_Spec ChannelIDType_spec = {
-    .name = "_xxsubinterpreters.ChannelID",
+    .name = MODULE_NAME ".ChannelID",
     .basicsize = sizeof(channelid),
     .flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |
               Py_TPFLAGS_DISALLOW_INSTANTIATION | Py_TPFLAGS_IMMUTABLETYPE),



More information about the Python-checkins mailing list