1
2# Generated by Tools/scripts/stable_abi.py
3
4"""Test that all symbols of the Stable ABI are accessible using ctypes
5"""
6
7import unittest
8from test.support.import_helper import import_module
9
10ctypes_test = import_module('ctypes')
11
12class TestStableABIAvailability(unittest.TestCase):
13    def test_available_symbols(self):
14        for symbol_name in SYMBOL_NAMES:
15            with self.subTest(symbol_name):
16                ctypes_test.pythonapi[symbol_name]
17
18SYMBOL_NAMES = (
19
20    "PyAIter_Check",
21    "PyArg_Parse",
22    "PyArg_ParseTuple",
23    "PyArg_ParseTupleAndKeywords",
24    "PyArg_UnpackTuple",
25    "PyArg_VaParse",
26    "PyArg_VaParseTupleAndKeywords",
27    "PyArg_ValidateKeywordArguments",
28    "PyBaseObject_Type",
29    "PyBool_FromLong",
30    "PyBool_Type",
31    "PyByteArrayIter_Type",
32    "PyByteArray_AsString",
33    "PyByteArray_Concat",
34    "PyByteArray_FromObject",
35    "PyByteArray_FromStringAndSize",
36    "PyByteArray_Resize",
37    "PyByteArray_Size",
38    "PyByteArray_Type",
39    "PyBytesIter_Type",
40    "PyBytes_AsString",
41    "PyBytes_AsStringAndSize",
42    "PyBytes_Concat",
43    "PyBytes_ConcatAndDel",
44    "PyBytes_DecodeEscape",
45    "PyBytes_FromFormat",
46    "PyBytes_FromFormatV",
47    "PyBytes_FromObject",
48    "PyBytes_FromString",
49    "PyBytes_FromStringAndSize",
50    "PyBytes_Repr",
51    "PyBytes_Size",
52    "PyBytes_Type",
53    "PyCFunction_Call",
54    "PyCFunction_GetFlags",
55    "PyCFunction_GetFunction",
56    "PyCFunction_GetSelf",
57    "PyCFunction_New",
58    "PyCFunction_NewEx",
59    "PyCFunction_Type",
60    "PyCMethod_New",
61    "PyCallIter_New",
62    "PyCallIter_Type",
63    "PyCallable_Check",
64    "PyCapsule_GetContext",
65    "PyCapsule_GetDestructor",
66    "PyCapsule_GetName",
67    "PyCapsule_GetPointer",
68    "PyCapsule_Import",
69    "PyCapsule_IsValid",
70    "PyCapsule_New",
71    "PyCapsule_SetContext",
72    "PyCapsule_SetDestructor",
73    "PyCapsule_SetName",
74    "PyCapsule_SetPointer",
75    "PyCapsule_Type",
76    "PyClassMethodDescr_Type",
77    "PyCodec_BackslashReplaceErrors",
78    "PyCodec_Decode",
79    "PyCodec_Decoder",
80    "PyCodec_Encode",
81    "PyCodec_Encoder",
82    "PyCodec_IgnoreErrors",
83    "PyCodec_IncrementalDecoder",
84    "PyCodec_IncrementalEncoder",
85    "PyCodec_KnownEncoding",
86    "PyCodec_LookupError",
87    "PyCodec_NameReplaceErrors",
88    "PyCodec_Register",
89    "PyCodec_RegisterError",
90    "PyCodec_ReplaceErrors",
91    "PyCodec_StreamReader",
92    "PyCodec_StreamWriter",
93    "PyCodec_StrictErrors",
94    "PyCodec_Unregister",
95    "PyCodec_XMLCharRefReplaceErrors",
96    "PyComplex_FromDoubles",
97    "PyComplex_ImagAsDouble",
98    "PyComplex_RealAsDouble",
99    "PyComplex_Type",
100    "PyDescr_NewClassMethod",
101    "PyDescr_NewGetSet",
102    "PyDescr_NewMember",
103    "PyDescr_NewMethod",
104    "PyDictItems_Type",
105    "PyDictIterItem_Type",
106    "PyDictIterKey_Type",
107    "PyDictIterValue_Type",
108    "PyDictKeys_Type",
109    "PyDictProxy_New",
110    "PyDictProxy_Type",
111    "PyDictRevIterItem_Type",
112    "PyDictRevIterKey_Type",
113    "PyDictRevIterValue_Type",
114    "PyDictValues_Type",
115    "PyDict_Clear",
116    "PyDict_Contains",
117    "PyDict_Copy",
118    "PyDict_DelItem",
119    "PyDict_DelItemString",
120    "PyDict_GetItem",
121    "PyDict_GetItemString",
122    "PyDict_GetItemWithError",
123    "PyDict_Items",
124    "PyDict_Keys",
125    "PyDict_Merge",
126    "PyDict_MergeFromSeq2",
127    "PyDict_New",
128    "PyDict_Next",
129    "PyDict_SetItem",
130    "PyDict_SetItemString",
131    "PyDict_Size",
132    "PyDict_Type",
133    "PyDict_Update",
134    "PyDict_Values",
135    "PyEllipsis_Type",
136    "PyEnum_Type",
137    "PyErr_BadArgument",
138    "PyErr_BadInternalCall",
139    "PyErr_CheckSignals",
140    "PyErr_Clear",
141    "PyErr_Display",
142    "PyErr_ExceptionMatches",
143    "PyErr_Fetch",
144    "PyErr_Format",
145    "PyErr_FormatV",
146    "PyErr_GetExcInfo",
147    "PyErr_GivenExceptionMatches",
148    "PyErr_NewException",
149    "PyErr_NewExceptionWithDoc",
150    "PyErr_NoMemory",
151    "PyErr_NormalizeException",
152    "PyErr_Occurred",
153    "PyErr_Print",
154    "PyErr_PrintEx",
155    "PyErr_ProgramText",
156    "PyErr_ResourceWarning",
157    "PyErr_Restore",
158    "PyErr_SetExcInfo",
159    "PyErr_SetFromErrno",
160    "PyErr_SetFromErrnoWithFilename",
161    "PyErr_SetFromErrnoWithFilenameObject",
162    "PyErr_SetFromErrnoWithFilenameObjects",
163    "PyErr_SetImportError",
164    "PyErr_SetImportErrorSubclass",
165    "PyErr_SetInterrupt",
166    "PyErr_SetInterruptEx",
167    "PyErr_SetNone",
168    "PyErr_SetObject",
169    "PyErr_SetString",
170    "PyErr_SyntaxLocation",
171    "PyErr_SyntaxLocationEx",
172    "PyErr_WarnEx",
173    "PyErr_WarnExplicit",
174    "PyErr_WarnFormat",
175    "PyErr_WriteUnraisable",
176    "PyEval_AcquireLock",
177    "PyEval_AcquireThread",
178    "PyEval_CallFunction",
179    "PyEval_CallMethod",
180    "PyEval_CallObjectWithKeywords",
181    "PyEval_EvalCode",
182    "PyEval_EvalCodeEx",
183    "PyEval_EvalFrame",
184    "PyEval_EvalFrameEx",
185    "PyEval_GetBuiltins",
186    "PyEval_GetFrame",
187    "PyEval_GetFuncDesc",
188    "PyEval_GetFuncName",
189    "PyEval_GetGlobals",
190    "PyEval_GetLocals",
191    "PyEval_InitThreads",
192    "PyEval_ReleaseLock",
193    "PyEval_ReleaseThread",
194    "PyEval_RestoreThread",
195    "PyEval_SaveThread",
196    "PyEval_ThreadsInitialized",
197    "PyExc_ArithmeticError",
198    "PyExc_AssertionError",
199    "PyExc_AttributeError",
200    "PyExc_BaseException",
201    "PyExc_BaseExceptionGroup",
202    "PyExc_BlockingIOError",
203    "PyExc_BrokenPipeError",
204    "PyExc_BufferError",
205    "PyExc_BytesWarning",
206    "PyExc_ChildProcessError",
207    "PyExc_ConnectionAbortedError",
208    "PyExc_ConnectionError",
209    "PyExc_ConnectionRefusedError",
210    "PyExc_ConnectionResetError",
211    "PyExc_DeprecationWarning",
212    "PyExc_EOFError",
213    "PyExc_EncodingWarning",
214    "PyExc_EnvironmentError",
215    "PyExc_Exception",
216    "PyExc_FileExistsError",
217    "PyExc_FileNotFoundError",
218    "PyExc_FloatingPointError",
219    "PyExc_FutureWarning",
220    "PyExc_GeneratorExit",
221    "PyExc_IOError",
222    "PyExc_ImportError",
223    "PyExc_ImportWarning",
224    "PyExc_IndentationError",
225    "PyExc_IndexError",
226    "PyExc_InterruptedError",
227    "PyExc_IsADirectoryError",
228    "PyExc_KeyError",
229    "PyExc_KeyboardInterrupt",
230    "PyExc_LookupError",
231    "PyExc_MemoryError",
232    "PyExc_ModuleNotFoundError",
233    "PyExc_NameError",
234    "PyExc_NotADirectoryError",
235    "PyExc_NotImplementedError",
236    "PyExc_OSError",
237    "PyExc_OverflowError",
238    "PyExc_PendingDeprecationWarning",
239    "PyExc_PermissionError",
240    "PyExc_ProcessLookupError",
241    "PyExc_RecursionError",
242    "PyExc_ReferenceError",
243    "PyExc_ResourceWarning",
244    "PyExc_RuntimeError",
245    "PyExc_RuntimeWarning",
246    "PyExc_StopAsyncIteration",
247    "PyExc_StopIteration",
248    "PyExc_SyntaxError",
249    "PyExc_SyntaxWarning",
250    "PyExc_SystemError",
251    "PyExc_SystemExit",
252    "PyExc_TabError",
253    "PyExc_TimeoutError",
254    "PyExc_TypeError",
255    "PyExc_UnboundLocalError",
256    "PyExc_UnicodeDecodeError",
257    "PyExc_UnicodeEncodeError",
258    "PyExc_UnicodeError",
259    "PyExc_UnicodeTranslateError",
260    "PyExc_UnicodeWarning",
261    "PyExc_UserWarning",
262    "PyExc_ValueError",
263    "PyExc_Warning",
264    "PyExc_ZeroDivisionError",
265    "PyExceptionClass_Name",
266    "PyException_GetCause",
267    "PyException_GetContext",
268    "PyException_GetTraceback",
269    "PyException_SetCause",
270    "PyException_SetContext",
271    "PyException_SetTraceback",
272    "PyFile_FromFd",
273    "PyFile_GetLine",
274    "PyFile_WriteObject",
275    "PyFile_WriteString",
276    "PyFilter_Type",
277    "PyFloat_AsDouble",
278    "PyFloat_FromDouble",
279    "PyFloat_FromString",
280    "PyFloat_GetInfo",
281    "PyFloat_GetMax",
282    "PyFloat_GetMin",
283    "PyFloat_Type",
284    "PyFrame_GetCode",
285    "PyFrame_GetLineNumber",
286    "PyFrozenSet_New",
287    "PyFrozenSet_Type",
288    "PyGC_Collect",
289    "PyGC_Disable",
290    "PyGC_Enable",
291    "PyGC_IsEnabled",
292    "PyGILState_Ensure",
293    "PyGILState_GetThisThreadState",
294    "PyGILState_Release",
295    "PyGetSetDescr_Type",
296    "PyImport_AddModule",
297    "PyImport_AddModuleObject",
298    "PyImport_AppendInittab",
299    "PyImport_ExecCodeModule",
300    "PyImport_ExecCodeModuleEx",
301    "PyImport_ExecCodeModuleObject",
302    "PyImport_ExecCodeModuleWithPathnames",
303    "PyImport_GetImporter",
304    "PyImport_GetMagicNumber",
305    "PyImport_GetMagicTag",
306    "PyImport_GetModule",
307    "PyImport_GetModuleDict",
308    "PyImport_Import",
309    "PyImport_ImportFrozenModule",
310    "PyImport_ImportFrozenModuleObject",
311    "PyImport_ImportModule",
312    "PyImport_ImportModuleLevel",
313    "PyImport_ImportModuleLevelObject",
314    "PyImport_ImportModuleNoBlock",
315    "PyImport_ReloadModule",
316    "PyIndex_Check",
317    "PyInterpreterState_Clear",
318    "PyInterpreterState_Delete",
319    "PyInterpreterState_Get",
320    "PyInterpreterState_GetDict",
321    "PyInterpreterState_GetID",
322    "PyInterpreterState_New",
323    "PyIter_Check",
324    "PyIter_Next",
325    "PyIter_Send",
326    "PyListIter_Type",
327    "PyListRevIter_Type",
328    "PyList_Append",
329    "PyList_AsTuple",
330    "PyList_GetItem",
331    "PyList_GetSlice",
332    "PyList_Insert",
333    "PyList_New",
334    "PyList_Reverse",
335    "PyList_SetItem",
336    "PyList_SetSlice",
337    "PyList_Size",
338    "PyList_Sort",
339    "PyList_Type",
340    "PyLongRangeIter_Type",
341    "PyLong_AsDouble",
342    "PyLong_AsLong",
343    "PyLong_AsLongAndOverflow",
344    "PyLong_AsLongLong",
345    "PyLong_AsLongLongAndOverflow",
346    "PyLong_AsSize_t",
347    "PyLong_AsSsize_t",
348    "PyLong_AsUnsignedLong",
349    "PyLong_AsUnsignedLongLong",
350    "PyLong_AsUnsignedLongLongMask",
351    "PyLong_AsUnsignedLongMask",
352    "PyLong_AsVoidPtr",
353    "PyLong_FromDouble",
354    "PyLong_FromLong",
355    "PyLong_FromLongLong",
356    "PyLong_FromSize_t",
357    "PyLong_FromSsize_t",
358    "PyLong_FromString",
359    "PyLong_FromUnsignedLong",
360    "PyLong_FromUnsignedLongLong",
361    "PyLong_FromVoidPtr",
362    "PyLong_GetInfo",
363    "PyLong_Type",
364    "PyMap_Type",
365    "PyMapping_Check",
366    "PyMapping_GetItemString",
367    "PyMapping_HasKey",
368    "PyMapping_HasKeyString",
369    "PyMapping_Items",
370    "PyMapping_Keys",
371    "PyMapping_Length",
372    "PyMapping_SetItemString",
373    "PyMapping_Size",
374    "PyMapping_Values",
375    "PyMarshal_ReadObjectFromString",
376    "PyMarshal_WriteObjectToString",
377    "PyMem_Calloc",
378    "PyMem_Free",
379    "PyMem_Malloc",
380    "PyMem_Realloc",
381    "PyMemberDescr_Type",
382    "PyMember_GetOne",
383    "PyMember_SetOne",
384    "PyMemoryView_FromMemory",
385    "PyMemoryView_FromObject",
386    "PyMemoryView_GetContiguous",
387    "PyMemoryView_Type",
388    "PyMethodDescr_Type",
389    "PyModuleDef_Init",
390    "PyModuleDef_Type",
391    "PyModule_AddFunctions",
392    "PyModule_AddIntConstant",
393    "PyModule_AddObject",
394    "PyModule_AddObjectRef",
395    "PyModule_AddStringConstant",
396    "PyModule_AddType",
397    "PyModule_ExecDef",
398    "PyModule_GetDef",
399    "PyModule_GetDict",
400    "PyModule_GetFilename",
401    "PyModule_GetFilenameObject",
402    "PyModule_GetName",
403    "PyModule_GetNameObject",
404    "PyModule_GetState",
405    "PyModule_New",
406    "PyModule_NewObject",
407    "PyModule_SetDocString",
408    "PyModule_Type",
409    "PyNumber_Absolute",
410    "PyNumber_Add",
411    "PyNumber_And",
412    "PyNumber_AsSsize_t",
413    "PyNumber_Check",
414    "PyNumber_Divmod",
415    "PyNumber_Float",
416    "PyNumber_FloorDivide",
417    "PyNumber_InPlaceAdd",
418    "PyNumber_InPlaceAnd",
419    "PyNumber_InPlaceFloorDivide",
420    "PyNumber_InPlaceLshift",
421    "PyNumber_InPlaceMatrixMultiply",
422    "PyNumber_InPlaceMultiply",
423    "PyNumber_InPlaceOr",
424    "PyNumber_InPlacePower",
425    "PyNumber_InPlaceRemainder",
426    "PyNumber_InPlaceRshift",
427    "PyNumber_InPlaceSubtract",
428    "PyNumber_InPlaceTrueDivide",
429    "PyNumber_InPlaceXor",
430    "PyNumber_Index",
431    "PyNumber_Invert",
432    "PyNumber_Long",
433    "PyNumber_Lshift",
434    "PyNumber_MatrixMultiply",
435    "PyNumber_Multiply",
436    "PyNumber_Negative",
437    "PyNumber_Or",
438    "PyNumber_Positive",
439    "PyNumber_Power",
440    "PyNumber_Remainder",
441    "PyNumber_Rshift",
442    "PyNumber_Subtract",
443    "PyNumber_ToBase",
444    "PyNumber_TrueDivide",
445    "PyNumber_Xor",
446    "PyOS_FSPath",
447    "PyOS_InputHook",
448    "PyOS_InterruptOccurred",
449    "PyOS_double_to_string",
450    "PyOS_getsig",
451    "PyOS_mystricmp",
452    "PyOS_mystrnicmp",
453    "PyOS_setsig",
454    "PyOS_snprintf",
455    "PyOS_string_to_double",
456    "PyOS_strtol",
457    "PyOS_strtoul",
458    "PyOS_vsnprintf",
459    "PyObject_ASCII",
460    "PyObject_AsCharBuffer",
461    "PyObject_AsFileDescriptor",
462    "PyObject_AsReadBuffer",
463    "PyObject_AsWriteBuffer",
464    "PyObject_Bytes",
465    "PyObject_Call",
466    "PyObject_CallFunction",
467    "PyObject_CallFunctionObjArgs",
468    "PyObject_CallMethod",
469    "PyObject_CallMethodObjArgs",
470    "PyObject_CallNoArgs",
471    "PyObject_CallObject",
472    "PyObject_Calloc",
473    "PyObject_CheckReadBuffer",
474    "PyObject_ClearWeakRefs",
475    "PyObject_DelItem",
476    "PyObject_DelItemString",
477    "PyObject_Dir",
478    "PyObject_Format",
479    "PyObject_Free",
480    "PyObject_GC_Del",
481    "PyObject_GC_IsFinalized",
482    "PyObject_GC_IsTracked",
483    "PyObject_GC_Track",
484    "PyObject_GC_UnTrack",
485    "PyObject_GenericGetAttr",
486    "PyObject_GenericGetDict",
487    "PyObject_GenericSetAttr",
488    "PyObject_GenericSetDict",
489    "PyObject_GetAIter",
490    "PyObject_GetAttr",
491    "PyObject_GetAttrString",
492    "PyObject_GetItem",
493    "PyObject_GetIter",
494    "PyObject_HasAttr",
495    "PyObject_HasAttrString",
496    "PyObject_Hash",
497    "PyObject_HashNotImplemented",
498    "PyObject_Init",
499    "PyObject_InitVar",
500    "PyObject_IsInstance",
501    "PyObject_IsSubclass",
502    "PyObject_IsTrue",
503    "PyObject_Length",
504    "PyObject_Malloc",
505    "PyObject_Not",
506    "PyObject_Realloc",
507    "PyObject_Repr",
508    "PyObject_RichCompare",
509    "PyObject_RichCompareBool",
510    "PyObject_SelfIter",
511    "PyObject_SetAttr",
512    "PyObject_SetAttrString",
513    "PyObject_SetItem",
514    "PyObject_Size",
515    "PyObject_Str",
516    "PyObject_Type",
517    "PyProperty_Type",
518    "PyRangeIter_Type",
519    "PyRange_Type",
520    "PyReversed_Type",
521    "PySeqIter_New",
522    "PySeqIter_Type",
523    "PySequence_Check",
524    "PySequence_Concat",
525    "PySequence_Contains",
526    "PySequence_Count",
527    "PySequence_DelItem",
528    "PySequence_DelSlice",
529    "PySequence_Fast",
530    "PySequence_GetItem",
531    "PySequence_GetSlice",
532    "PySequence_In",
533    "PySequence_InPlaceConcat",
534    "PySequence_InPlaceRepeat",
535    "PySequence_Index",
536    "PySequence_Length",
537    "PySequence_List",
538    "PySequence_Repeat",
539    "PySequence_SetItem",
540    "PySequence_SetSlice",
541    "PySequence_Size",
542    "PySequence_Tuple",
543    "PySetIter_Type",
544    "PySet_Add",
545    "PySet_Clear",
546    "PySet_Contains",
547    "PySet_Discard",
548    "PySet_New",
549    "PySet_Pop",
550    "PySet_Size",
551    "PySet_Type",
552    "PySlice_AdjustIndices",
553    "PySlice_GetIndices",
554    "PySlice_GetIndicesEx",
555    "PySlice_New",
556    "PySlice_Type",
557    "PySlice_Unpack",
558    "PyState_AddModule",
559    "PyState_FindModule",
560    "PyState_RemoveModule",
561    "PyStructSequence_GetItem",
562    "PyStructSequence_New",
563    "PyStructSequence_NewType",
564    "PyStructSequence_SetItem",
565    "PyStructSequence_UnnamedField",
566    "PySuper_Type",
567    "PySys_AddWarnOption",
568    "PySys_AddWarnOptionUnicode",
569    "PySys_AddXOption",
570    "PySys_FormatStderr",
571    "PySys_FormatStdout",
572    "PySys_GetObject",
573    "PySys_GetXOptions",
574    "PySys_HasWarnOptions",
575    "PySys_ResetWarnOptions",
576    "PySys_SetArgv",
577    "PySys_SetArgvEx",
578    "PySys_SetObject",
579    "PySys_SetPath",
580    "PySys_WriteStderr",
581    "PySys_WriteStdout",
582    "PyThreadState_Clear",
583    "PyThreadState_Delete",
584    "PyThreadState_DeleteCurrent",
585    "PyThreadState_Get",
586    "PyThreadState_GetDict",
587    "PyThreadState_GetFrame",
588    "PyThreadState_GetID",
589    "PyThreadState_GetInterpreter",
590    "PyThreadState_New",
591    "PyThreadState_SetAsyncExc",
592    "PyThreadState_Swap",
593    "PyThread_GetInfo",
594    "PyThread_ReInitTLS",
595    "PyThread_acquire_lock",
596    "PyThread_acquire_lock_timed",
597    "PyThread_allocate_lock",
598    "PyThread_create_key",
599    "PyThread_delete_key",
600    "PyThread_delete_key_value",
601    "PyThread_exit_thread",
602    "PyThread_free_lock",
603    "PyThread_get_key_value",
604    "PyThread_get_stacksize",
605    "PyThread_get_thread_ident",
606    "PyThread_get_thread_native_id",
607    "PyThread_init_thread",
608    "PyThread_release_lock",
609    "PyThread_set_key_value",
610    "PyThread_set_stacksize",
611    "PyThread_start_new_thread",
612    "PyThread_tss_alloc",
613    "PyThread_tss_create",
614    "PyThread_tss_delete",
615    "PyThread_tss_free",
616    "PyThread_tss_get",
617    "PyThread_tss_is_created",
618    "PyThread_tss_set",
619    "PyTraceBack_Here",
620    "PyTraceBack_Print",
621    "PyTraceBack_Type",
622    "PyTupleIter_Type",
623    "PyTuple_GetItem",
624    "PyTuple_GetSlice",
625    "PyTuple_New",
626    "PyTuple_Pack",
627    "PyTuple_SetItem",
628    "PyTuple_Size",
629    "PyTuple_Type",
630    "PyType_ClearCache",
631    "PyType_FromModuleAndSpec",
632    "PyType_FromSpec",
633    "PyType_FromSpecWithBases",
634    "PyType_GenericAlloc",
635    "PyType_GenericNew",
636    "PyType_GetFlags",
637    "PyType_GetModule",
638    "PyType_GetModuleState",
639    "PyType_GetName",
640    "PyType_GetQualName",
641    "PyType_GetSlot",
642    "PyType_IsSubtype",
643    "PyType_Modified",
644    "PyType_Ready",
645    "PyType_Type",
646    "PyUnicodeDecodeError_Create",
647    "PyUnicodeDecodeError_GetEncoding",
648    "PyUnicodeDecodeError_GetEnd",
649    "PyUnicodeDecodeError_GetObject",
650    "PyUnicodeDecodeError_GetReason",
651    "PyUnicodeDecodeError_GetStart",
652    "PyUnicodeDecodeError_SetEnd",
653    "PyUnicodeDecodeError_SetReason",
654    "PyUnicodeDecodeError_SetStart",
655    "PyUnicodeEncodeError_GetEncoding",
656    "PyUnicodeEncodeError_GetEnd",
657    "PyUnicodeEncodeError_GetObject",
658    "PyUnicodeEncodeError_GetReason",
659    "PyUnicodeEncodeError_GetStart",
660    "PyUnicodeEncodeError_SetEnd",
661    "PyUnicodeEncodeError_SetReason",
662    "PyUnicodeEncodeError_SetStart",
663    "PyUnicodeIter_Type",
664    "PyUnicodeTranslateError_GetEnd",
665    "PyUnicodeTranslateError_GetObject",
666    "PyUnicodeTranslateError_GetReason",
667    "PyUnicodeTranslateError_GetStart",
668    "PyUnicodeTranslateError_SetEnd",
669    "PyUnicodeTranslateError_SetReason",
670    "PyUnicodeTranslateError_SetStart",
671    "PyUnicode_Append",
672    "PyUnicode_AppendAndDel",
673    "PyUnicode_AsASCIIString",
674    "PyUnicode_AsCharmapString",
675    "PyUnicode_AsDecodedObject",
676    "PyUnicode_AsDecodedUnicode",
677    "PyUnicode_AsEncodedObject",
678    "PyUnicode_AsEncodedString",
679    "PyUnicode_AsEncodedUnicode",
680    "PyUnicode_AsLatin1String",
681    "PyUnicode_AsRawUnicodeEscapeString",
682    "PyUnicode_AsUCS4",
683    "PyUnicode_AsUCS4Copy",
684    "PyUnicode_AsUTF16String",
685    "PyUnicode_AsUTF32String",
686    "PyUnicode_AsUTF8AndSize",
687    "PyUnicode_AsUTF8String",
688    "PyUnicode_AsUnicodeEscapeString",
689    "PyUnicode_AsWideChar",
690    "PyUnicode_AsWideCharString",
691    "PyUnicode_BuildEncodingMap",
692    "PyUnicode_Compare",
693    "PyUnicode_CompareWithASCIIString",
694    "PyUnicode_Concat",
695    "PyUnicode_Contains",
696    "PyUnicode_Count",
697    "PyUnicode_Decode",
698    "PyUnicode_DecodeASCII",
699    "PyUnicode_DecodeCharmap",
700    "PyUnicode_DecodeFSDefault",
701    "PyUnicode_DecodeFSDefaultAndSize",
702    "PyUnicode_DecodeLatin1",
703    "PyUnicode_DecodeLocale",
704    "PyUnicode_DecodeLocaleAndSize",
705    "PyUnicode_DecodeRawUnicodeEscape",
706    "PyUnicode_DecodeUTF16",
707    "PyUnicode_DecodeUTF16Stateful",
708    "PyUnicode_DecodeUTF32",
709    "PyUnicode_DecodeUTF32Stateful",
710    "PyUnicode_DecodeUTF7",
711    "PyUnicode_DecodeUTF7Stateful",
712    "PyUnicode_DecodeUTF8",
713    "PyUnicode_DecodeUTF8Stateful",
714    "PyUnicode_DecodeUnicodeEscape",
715    "PyUnicode_EncodeFSDefault",
716    "PyUnicode_EncodeLocale",
717    "PyUnicode_FSConverter",
718    "PyUnicode_FSDecoder",
719    "PyUnicode_Find",
720    "PyUnicode_FindChar",
721    "PyUnicode_Format",
722    "PyUnicode_FromEncodedObject",
723    "PyUnicode_FromFormat",
724    "PyUnicode_FromFormatV",
725    "PyUnicode_FromObject",
726    "PyUnicode_FromOrdinal",
727    "PyUnicode_FromString",
728    "PyUnicode_FromStringAndSize",
729    "PyUnicode_FromWideChar",
730    "PyUnicode_GetDefaultEncoding",
731    "PyUnicode_GetLength",
732    "PyUnicode_GetSize",
733    "PyUnicode_InternFromString",
734    "PyUnicode_InternImmortal",
735    "PyUnicode_InternInPlace",
736    "PyUnicode_IsIdentifier",
737    "PyUnicode_Join",
738    "PyUnicode_Partition",
739    "PyUnicode_RPartition",
740    "PyUnicode_RSplit",
741    "PyUnicode_ReadChar",
742    "PyUnicode_Replace",
743    "PyUnicode_Resize",
744    "PyUnicode_RichCompare",
745    "PyUnicode_Split",
746    "PyUnicode_Splitlines",
747    "PyUnicode_Substring",
748    "PyUnicode_Tailmatch",
749    "PyUnicode_Translate",
750    "PyUnicode_Type",
751    "PyUnicode_WriteChar",
752    "PyWeakref_GetObject",
753    "PyWeakref_NewProxy",
754    "PyWeakref_NewRef",
755    "PyWrapperDescr_Type",
756    "PyWrapper_New",
757    "PyZip_Type",
758    "Py_AddPendingCall",
759    "Py_AtExit",
760    "Py_BuildValue",
761    "Py_BytesMain",
762    "Py_CompileString",
763    "Py_DecRef",
764    "Py_DecodeLocale",
765    "Py_EncodeLocale",
766    "Py_EndInterpreter",
767    "Py_EnterRecursiveCall",
768    "Py_Exit",
769    "Py_FatalError",
770    "Py_FileSystemDefaultEncodeErrors",
771    "Py_FileSystemDefaultEncoding",
772    "Py_Finalize",
773    "Py_FinalizeEx",
774    "Py_GenericAlias",
775    "Py_GenericAliasType",
776    "Py_GetArgcArgv",
777    "Py_GetBuildInfo",
778    "Py_GetCompiler",
779    "Py_GetCopyright",
780    "Py_GetExecPrefix",
781    "Py_GetPath",
782    "Py_GetPlatform",
783    "Py_GetPrefix",
784    "Py_GetProgramFullPath",
785    "Py_GetProgramName",
786    "Py_GetPythonHome",
787    "Py_GetRecursionLimit",
788    "Py_GetVersion",
789    "Py_HasFileSystemDefaultEncoding",
790    "Py_IncRef",
791    "Py_Initialize",
792    "Py_InitializeEx",
793    "Py_Is",
794    "Py_IsFalse",
795    "Py_IsInitialized",
796    "Py_IsNone",
797    "Py_IsTrue",
798    "Py_LeaveRecursiveCall",
799    "Py_Main",
800    "Py_MakePendingCalls",
801    "Py_NewInterpreter",
802    "Py_NewRef",
803    "Py_ReprEnter",
804    "Py_ReprLeave",
805    "Py_SetPath",
806    "Py_SetProgramName",
807    "Py_SetPythonHome",
808    "Py_SetRecursionLimit",
809    "Py_UTF8Mode",
810    "Py_VaBuildValue",
811    "Py_XNewRef",
812    "_PyArg_ParseTupleAndKeywords_SizeT",
813    "_PyArg_ParseTuple_SizeT",
814    "_PyArg_Parse_SizeT",
815    "_PyArg_VaParseTupleAndKeywords_SizeT",
816    "_PyArg_VaParse_SizeT",
817    "_PyErr_BadInternalCall",
818    "_PyObject_CallFunction_SizeT",
819    "_PyObject_CallMethod_SizeT",
820    "_PyObject_GC_New",
821    "_PyObject_GC_NewVar",
822    "_PyObject_GC_Resize",
823    "_PyObject_New",
824    "_PyObject_NewVar",
825    "_PyState_AddModule",
826    "_PyThreadState_Init",
827    "_PyThreadState_Prealloc",
828    "_PyWeakref_CallableProxyType",
829    "_PyWeakref_ProxyType",
830    "_PyWeakref_RefType",
831    "_Py_BuildValue_SizeT",
832    "_Py_CheckRecursiveCall",
833    "_Py_Dealloc",
834    "_Py_DecRef",
835    "_Py_EllipsisObject",
836    "_Py_FalseStruct",
837    "_Py_IncRef",
838    "_Py_NoneStruct",
839    "_Py_NotImplementedStruct",
840    "_Py_SwappedOp",
841    "_Py_TrueStruct",
842    "_Py_VaBuildValue_SizeT",
843)
844