Development tools¶
- Argument Clinic
- Background
- Reference
- Tutorial
- How-to guides
- How to rename C functions and variables generated by Argument Clinic
- How to convert functions using
PyArg_UnpackTuple
- How to use optional groups
- How to use real Argument Clinic converters, instead of “legacy converters”
- How to use the
Py_buffer
converter - How to use advanced converters
- How to assign default values to parameter
- How to use return converters
- How to clone existing functions
- How to call Python code
- How to use the “self converter”
- How to use the “defining class” converter
- How to write a custom converter
- How to write a custom return converter
- How to convert
METH_O
andMETH_NOARGS
functions - How to convert
tp_new
andtp_init
functions - How to change and redirect Clinic’s output
- How to use the
#ifdef
trick - How to use Argument Clinic in Python files
- How to use the Limited C API
- How to override the generated signature
- How to use critical sections with Argument Clinic
- How to declare
PyGetSetDef
(“getter/setter”) functions - How to deprecate passing parameters positionally or by keyword
- GDB support
- Dynamic analysis with Clang
- Tools for tracking compiler warnings