[Python-checkins] Hide some symbols from _xxsubinterpreters. (GH-8151)
Benjamin Peterson
webhook-mailer at python.org
Sat Jul 7 02:28:38 EDT 2018
https://github.com/python/cpython/commit/4629c0d531de6b41c9f72b51a44135e9ec634d06
commit: 4629c0d531de6b41c9f72b51a44135e9ec634d06
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2018-07-06T23:28:35-07:00
summary:
Hide some symbols from _xxsubinterpreters. (GH-8151)
files:
M Modules/_xxsubinterpretersmodule.c
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index ce243fe30bb5..8567e4fd970c 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -1201,7 +1201,7 @@ _channels_drop_id_object(_channels *channels, int64_t id)
PyThread_release_lock(channels->mutex);
}
-int64_t *
+static int64_t *
_channels_list_all(_channels *channels, int64_t *count)
{
int64_t *cids = NULL;
@@ -1545,7 +1545,7 @@ channelid_str(PyObject *self)
return PyUnicode_FromFormat("%" PRId64 "", cid->id);
}
-PyObject *
+static PyObject *
channelid_int(PyObject *self)
{
channelid *cid = (channelid *)self;
More information about the Python-checkins
mailing list