diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-23 22:19:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 22:19:11 (GMT) |
commit | 513c89d0122ff6245cfefbb49ef32bde8a2336f5 (patch) | |
tree | 4d2b87216c371ec4a2c7e318355698446e33295f /Objects/funcobject.c | |
parent | b6be18812c68fce5ab56c266dc5fc5a3cceb09c0 (diff) | |
download | cpython-513c89d0122ff6245cfefbb49ef32bde8a2336f5.zip cpython-513c89d0122ff6245cfefbb49ef32bde8a2336f5.tar.gz cpython-513c89d0122ff6245cfefbb49ef32bde8a2336f5.tar.bz2 |
gh-108240: Add _PyCapsule_SetTraverse() internal function (#108339)
The _socket extension uses _PyCapsule_SetTraverse() to visit and clear
the socket type in the garbage collector. So the _socket.socket type
can be cleared in some corner cases when it wasn't possible before.
Diffstat (limited to 'Objects/funcobject.c')
0 files changed, 0 insertions, 0 deletions