summaryrefslogtreecommitdiffstats
path: root/Include/pycapsule.h
Commit message (Collapse)AuthorAgeFilesLines
* gh-108240: Add pycore_capsule.h internal header file (#108596)Victor Stinner2023-08-291-5/+0
| | | | Move _PyCapsule_SetTraverse() definition to a new internal header file: pycore_capsule.h.
* gh-108240: Add _PyCapsule_SetTraverse() internal function (#108339)Victor Stinner2023-08-231-0/+4
| | | | | 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.
* gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)Victor Stinner2022-06-161-1/+1
|
* bpo-39573: Add Py_IS_TYPE() function (GH-18488)Dong-hee Na2020-02-131-1/+1
| | | Co-Author: Neil Schemenauer <nas-github@arctrix.com>
* Issue #3080: document encoding used by import functionsVictor Stinner2011-02-221-1/+3
|
* Remove trailing whitespace.Georg Brandl2009-05-171-3/+3
|
* add a replacement API for PyCObject, PyCapsule #5630Benjamin Peterson2009-05-051-0/+57
All stdlib modules with C-APIs now use this. Patch by Larry Hastings