1# This file lists the contents of the Limited API and Stable ABI. 2# Please append new items at the end. 3 4# The syntax of this file is not fixed. 5# It is designed to be read only by Tools/stable_abi.py, which can change 6# without notice. 7 8# For the history of the stable ABI prior to this file, 9# see the history of PC/python3dll.c and before that, PC/python3.def, 10# and PC/pythonXYstub.def 11 12 13# Mentioned in PEP 384: 14 15struct PyObject 16 added 3.2 17struct PyVarObject 18 added 3.2 19struct PyMethodDef 20 added 3.2 21struct PyMemberDef 22 added 3.2 23struct PyGetSetDef 24 added 3.2 25struct PyModuleDef_Base 26 added 3.2 27struct PyModuleDef 28 added 3.2 29struct PyStructSequence_Field 30 added 3.2 31struct PyStructSequence_Desc 32 added 3.2 33struct PyType_Slot 34 added 3.2 35struct PyType_Spec 36 added 3.2 37struct PyThreadState 38 added 3.2 39struct PyInterpreterState 40 added 3.2 41struct PyFrameObject 42 added 3.2 43struct symtable 44 added 3.2 45struct PyWeakReference 46 added 3.2 47struct PyLongObject 48 added 3.2 49struct PyTypeObject 50 added 3.2 51 52function PyType_FromSpec 53 added 3.2 54 55const Py_tp_dealloc 56 added 3.2 57const Py_tp_getattr 58 added 3.2 59const Py_tp_setattr 60 added 3.2 61const Py_tp_repr 62 added 3.2 63const Py_tp_hash 64 added 3.2 65const Py_tp_call 66 added 3.2 67const Py_tp_str 68 added 3.2 69const Py_tp_getattro 70 added 3.2 71const Py_tp_setattro 72 added 3.2 73const Py_tp_doc 74 added 3.2 75const Py_tp_traverse 76 added 3.2 77const Py_tp_clear 78 added 3.2 79const Py_tp_richcompare 80 added 3.2 81const Py_tp_iter 82 added 3.2 83const Py_tp_iternext 84 added 3.2 85const Py_tp_methods 86 added 3.2 87const Py_tp_base 88 added 3.2 89const Py_tp_descr_get 90 added 3.2 91const Py_tp_descr_set 92 added 3.2 93const Py_tp_init 94 added 3.2 95const Py_tp_alloc 96 added 3.2 97const Py_tp_new 98 added 3.2 99const Py_tp_members 100 added 3.2 101const Py_tp_getset 102 added 3.2 103const Py_tp_free 104 added 3.2 105const Py_tp_is_gc 106 added 3.2 107const Py_tp_bases 108 added 3.2 109const Py_tp_del 110 added 3.2 111const Py_nb_add 112 added 3.2 113const Py_nb_subtract 114 added 3.2 115const Py_nb_multiply 116 added 3.2 117const Py_nb_remainder 118 added 3.2 119const Py_nb_divmod 120 added 3.2 121const Py_nb_power 122 added 3.2 123const Py_nb_negative 124 added 3.2 125const Py_nb_positive 126 added 3.2 127const Py_nb_absolute 128 added 3.2 129const Py_nb_bool 130 added 3.2 131const Py_nb_invert 132 added 3.2 133const Py_nb_lshift 134 added 3.2 135const Py_nb_rshift 136 added 3.2 137const Py_nb_and 138 added 3.2 139const Py_nb_xor 140 added 3.2 141const Py_nb_or 142 added 3.2 143const Py_nb_int 144 added 3.2 145const Py_nb_float 146 added 3.2 147const Py_nb_inplace_add 148 added 3.2 149const Py_nb_inplace_subtract 150 added 3.2 151const Py_nb_inplace_multiply 152 added 3.2 153const Py_nb_inplace_remainder 154 added 3.2 155const Py_nb_inplace_power 156 added 3.2 157const Py_nb_inplace_lshift 158 added 3.2 159const Py_nb_inplace_rshift 160 added 3.2 161const Py_nb_inplace_and 162 added 3.2 163const Py_nb_inplace_xor 164 added 3.2 165const Py_nb_inplace_or 166 added 3.2 167const Py_nb_floor_divide 168 added 3.2 169const Py_nb_true_divide 170 added 3.2 171const Py_nb_inplace_floor_divide 172 added 3.2 173const Py_nb_inplace_true_divide 174 added 3.2 175const Py_nb_index 176 added 3.2 177const Py_sq_length 178 added 3.2 179const Py_sq_concat 180 added 3.2 181const Py_sq_repeat 182 added 3.2 183const Py_sq_item 184 added 3.2 185const Py_sq_ass_item 186 added 3.2 187const Py_sq_contains 188 added 3.2 189const Py_sq_inplace_concat 190 added 3.2 191const Py_sq_inplace_repeat 192 added 3.2 193const Py_mp_length 194 added 3.2 195const Py_mp_subscript 196 added 3.2 197const Py_mp_ass_subscript 198 added 3.2 199 200typedef Py_uintptr_t 201 added 3.2 202typedef Py_intptr_t 203 added 3.2 204typedef Py_ssize_t 205 added 3.2 206typedef unaryfunc 207 added 3.2 208typedef binaryfunc 209 added 3.2 210typedef ternaryfunc 211 added 3.2 212typedef inquiry 213 added 3.2 214typedef lenfunc 215 added 3.2 216typedef ssizeargfunc 217 added 3.2 218typedef ssizessizeargfunc 219 added 3.2 220typedef ssizeobjargproc 221 added 3.2 222typedef ssizessizeobjargproc 223 added 3.2 224typedef objobjargproc 225 added 3.2 226typedef objobjproc 227 added 3.2 228typedef visitproc 229 added 3.2 230typedef traverseproc 231 added 3.2 232typedef destructor 233 added 3.2 234typedef getattrfunc 235 added 3.2 236typedef getattrofunc 237 added 3.2 238typedef setattrfunc 239 added 3.2 240typedef setattrofunc 241 added 3.2 242typedef reprfunc 243 added 3.2 244typedef hashfunc 245 added 3.2 246typedef richcmpfunc 247 added 3.2 248typedef getiterfunc 249 added 3.2 250typedef iternextfunc 251 added 3.2 252typedef descrgetfunc 253 added 3.2 254typedef descrsetfunc 255 added 3.2 256typedef initproc 257 added 3.2 258typedef newfunc 259 added 3.2 260typedef allocfunc 261 added 3.2 262struct PyCFunction 263 added 3.2 264struct PyCFunctionWithKeywords 265 added 3.2 266struct PyCapsule_Destructor 267 added 3.2 268typedef getter 269 added 3.2 270typedef setter 271 added 3.2 272typedef PyOS_sighandler_t 273 added 3.2 274typedef PyGILState_STATE 275 added 3.2 276typedef Py_UCS4 277 added 3.2 278 279macro Py_BEGIN_ALLOW_THREADS 280 added 3.2 281macro Py_BLOCK_THREADS 282 added 3.2 283macro Py_UNBLOCK_THREADS 284 added 3.2 285macro Py_END_ALLOW_THREADS 286 added 3.2 287 288# The following were added in PC/python3.def in the initial stable ABI commit, 289# 4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9, 290# and later amendments in 3.2: 291# 0d012f284be829c6217f60523db0e1671b7db9d9 292# c83bc3c1fbed14d27a5de3032e24d2cf006a7c4b 293 294function PyArg_Parse 295 added 3.2 296function PyArg_ParseTuple 297 added 3.2 298function PyArg_ParseTupleAndKeywords 299 added 3.2 300function PyArg_UnpackTuple 301 added 3.2 302function PyArg_VaParse 303 added 3.2 304function PyArg_VaParseTupleAndKeywords 305 added 3.2 306function PyArg_ValidateKeywordArguments 307 added 3.2 308data PyBaseObject_Type 309 added 3.2 310function PyBool_FromLong 311 added 3.2 312data PyBool_Type 313 added 3.2 314data PyByteArrayIter_Type 315 added 3.2 316function PyByteArray_AsString 317 added 3.2 318function PyByteArray_Concat 319 added 3.2 320function PyByteArray_FromObject 321 added 3.2 322function PyByteArray_FromStringAndSize 323 added 3.2 324function PyByteArray_Resize 325 added 3.2 326function PyByteArray_Size 327 added 3.2 328data PyByteArray_Type 329 added 3.2 330data PyBytesIter_Type 331 added 3.2 332function PyBytes_AsString 333 added 3.2 334function PyBytes_AsStringAndSize 335 added 3.2 336function PyBytes_Concat 337 added 3.2 338function PyBytes_ConcatAndDel 339 added 3.2 340function PyBytes_DecodeEscape 341 added 3.2 342function PyBytes_FromFormat 343 added 3.2 344function PyBytes_FromFormatV 345 added 3.2 346function PyBytes_FromObject 347 added 3.2 348function PyBytes_FromString 349 added 3.2 350function PyBytes_FromStringAndSize 351 added 3.2 352function PyBytes_Repr 353 added 3.2 354function PyBytes_Size 355 added 3.2 356data PyBytes_Type 357 added 3.2 358function PyCFunction_Call 359 added 3.2 360function PyCFunction_GetFlags 361 added 3.2 362function PyCFunction_GetFunction 363 added 3.2 364function PyCFunction_GetSelf 365 added 3.2 366function PyCFunction_NewEx 367 added 3.2 368data PyCFunction_Type 369 added 3.2 370function PyCallIter_New 371 added 3.2 372data PyCallIter_Type 373 added 3.2 374function PyCallable_Check 375 added 3.2 376function PyCapsule_GetContext 377 added 3.2 378function PyCapsule_GetDestructor 379 added 3.2 380function PyCapsule_GetName 381 added 3.2 382function PyCapsule_GetPointer 383 added 3.2 384function PyCapsule_Import 385 added 3.2 386function PyCapsule_IsValid 387 added 3.2 388function PyCapsule_New 389 added 3.2 390function PyCapsule_SetContext 391 added 3.2 392function PyCapsule_SetDestructor 393 added 3.2 394function PyCapsule_SetName 395 added 3.2 396function PyCapsule_SetPointer 397 added 3.2 398data PyCapsule_Type 399 added 3.2 400data PyClassMethodDescr_Type 401 added 3.2 402function PyCodec_BackslashReplaceErrors 403 added 3.2 404function PyCodec_Decode 405 added 3.2 406function PyCodec_Decoder 407 added 3.2 408function PyCodec_Encode 409 added 3.2 410function PyCodec_Encoder 411 added 3.2 412function PyCodec_IgnoreErrors 413 added 3.2 414function PyCodec_IncrementalDecoder 415 added 3.2 416function PyCodec_IncrementalEncoder 417 added 3.2 418function PyCodec_KnownEncoding 419 added 3.2 420function PyCodec_LookupError 421 added 3.2 422function PyCodec_Register 423 added 3.2 424function PyCodec_RegisterError 425 added 3.2 426function PyCodec_ReplaceErrors 427 added 3.2 428function PyCodec_StreamReader 429 added 3.2 430function PyCodec_StreamWriter 431 added 3.2 432function PyCodec_StrictErrors 433 added 3.2 434function PyCodec_XMLCharRefReplaceErrors 435 added 3.2 436function PyComplex_FromDoubles 437 added 3.2 438function PyComplex_ImagAsDouble 439 added 3.2 440function PyComplex_RealAsDouble 441 added 3.2 442data PyComplex_Type 443 added 3.2 444function PyDescr_NewClassMethod 445 added 3.2 446function PyDescr_NewGetSet 447 added 3.2 448function PyDescr_NewMember 449 added 3.2 450function PyDescr_NewMethod 451 added 3.2 452data PyDictItems_Type 453 added 3.2 454data PyDictIterItem_Type 455 added 3.2 456data PyDictIterKey_Type 457 added 3.2 458data PyDictIterValue_Type 459 added 3.2 460data PyDictKeys_Type 461 added 3.2 462function PyDictProxy_New 463 added 3.2 464data PyDictProxy_Type 465 added 3.2 466data PyDictValues_Type 467 added 3.2 468function PyDict_Clear 469 added 3.2 470function PyDict_Contains 471 added 3.2 472function PyDict_Copy 473 added 3.2 474function PyDict_DelItem 475 added 3.2 476function PyDict_DelItemString 477 added 3.2 478function PyDict_GetItem 479 added 3.2 480function PyDict_GetItemString 481 added 3.2 482function PyDict_GetItemWithError 483 added 3.2 484function PyDict_Items 485 added 3.2 486function PyDict_Keys 487 added 3.2 488function PyDict_Merge 489 added 3.2 490function PyDict_MergeFromSeq2 491 added 3.2 492function PyDict_New 493 added 3.2 494function PyDict_Next 495 added 3.2 496function PyDict_SetItem 497 added 3.2 498function PyDict_SetItemString 499 added 3.2 500function PyDict_Size 501 added 3.2 502data PyDict_Type 503 added 3.2 504function PyDict_Update 505 added 3.2 506function PyDict_Values 507 added 3.2 508data PyEllipsis_Type 509 added 3.2 510data PyEnum_Type 511 added 3.2 512function PyErr_BadArgument 513 added 3.2 514function PyErr_BadInternalCall 515 added 3.2 516function PyErr_CheckSignals 517 added 3.2 518function PyErr_Clear 519 added 3.2 520function PyErr_Display 521 added 3.2 522function PyErr_ExceptionMatches 523 added 3.2 524function PyErr_Fetch 525 added 3.2 526function PyErr_Format 527 added 3.2 528function PyErr_GivenExceptionMatches 529 added 3.2 530function PyErr_NewException 531 added 3.2 532function PyErr_NewExceptionWithDoc 533 added 3.2 534function PyErr_NoMemory 535 added 3.2 536function PyErr_NormalizeException 537 added 3.2 538function PyErr_Occurred 539 added 3.2 540function PyErr_Print 541 added 3.2 542function PyErr_PrintEx 543 added 3.2 544function PyErr_ProgramText 545 added 3.2 546function PyErr_Restore 547 added 3.2 548function PyErr_SetFromErrno 549 added 3.2 550function PyErr_SetFromErrnoWithFilename 551 added 3.2 552function PyErr_SetFromErrnoWithFilenameObject 553 added 3.2 554function PyErr_SetInterrupt 555 added 3.2 556function PyErr_SetNone 557 added 3.2 558function PyErr_SetObject 559 added 3.2 560function PyErr_SetString 561 added 3.2 562function PyErr_SyntaxLocation 563 added 3.2 564function PyErr_WarnEx 565 added 3.2 566function PyErr_WarnExplicit 567 added 3.2 568function PyErr_WarnFormat 569 added 3.2 570function PyErr_WriteUnraisable 571 added 3.2 572function PyEval_AcquireLock 573 added 3.2 574function PyEval_AcquireThread 575 added 3.2 576function PyEval_CallFunction 577 added 3.2 578function PyEval_CallMethod 579 added 3.2 580function PyEval_CallObjectWithKeywords 581 added 3.2 582function PyEval_EvalCode 583 added 3.2 584function PyEval_EvalCodeEx 585 added 3.2 586function PyEval_EvalFrame 587 added 3.2 588function PyEval_EvalFrameEx 589 added 3.2 590function PyEval_GetBuiltins 591 added 3.2 592function PyEval_GetFrame 593 added 3.2 594function PyEval_GetFuncDesc 595 added 3.2 596function PyEval_GetFuncName 597 added 3.2 598function PyEval_GetGlobals 599 added 3.2 600function PyEval_GetLocals 601 added 3.2 602function PyEval_InitThreads 603 added 3.2 604function PyEval_ReleaseLock 605 added 3.2 606function PyEval_ReleaseThread 607 added 3.2 608function PyEval_RestoreThread 609 added 3.2 610function PyEval_SaveThread 611 added 3.2 612function PyEval_ThreadsInitialized 613 added 3.2 614data PyExc_ArithmeticError 615 added 3.2 616data PyExc_AssertionError 617 added 3.2 618data PyExc_AttributeError 619 added 3.2 620data PyExc_BaseException 621 added 3.2 622data PyExc_BufferError 623 added 3.2 624data PyExc_BytesWarning 625 added 3.2 626data PyExc_DeprecationWarning 627 added 3.2 628data PyExc_EOFError 629 added 3.2 630data PyExc_EnvironmentError 631 added 3.2 632data PyExc_Exception 633 added 3.2 634data PyExc_FloatingPointError 635 added 3.2 636data PyExc_FutureWarning 637 added 3.2 638data PyExc_GeneratorExit 639 added 3.2 640data PyExc_IOError 641 added 3.2 642data PyExc_ImportError 643 added 3.2 644data PyExc_ImportWarning 645 added 3.2 646data PyExc_IndentationError 647 added 3.2 648data PyExc_IndexError 649 added 3.2 650data PyExc_KeyError 651 added 3.2 652data PyExc_KeyboardInterrupt 653 added 3.2 654data PyExc_LookupError 655 added 3.2 656data PyExc_MemoryError 657 added 3.2 658data PyExc_NameError 659 added 3.2 660data PyExc_NotImplementedError 661 added 3.2 662data PyExc_OSError 663 added 3.2 664data PyExc_OverflowError 665 added 3.2 666data PyExc_PendingDeprecationWarning 667 added 3.2 668data PyExc_ReferenceError 669 added 3.2 670data PyExc_RuntimeError 671 added 3.2 672data PyExc_RuntimeWarning 673 added 3.2 674data PyExc_StopIteration 675 added 3.2 676data PyExc_SyntaxError 677 added 3.2 678data PyExc_SyntaxWarning 679 added 3.2 680data PyExc_SystemError 681 added 3.2 682data PyExc_SystemExit 683 added 3.2 684data PyExc_TabError 685 added 3.2 686data PyExc_TypeError 687 added 3.2 688data PyExc_UnboundLocalError 689 added 3.2 690data PyExc_UnicodeDecodeError 691 added 3.2 692data PyExc_UnicodeEncodeError 693 added 3.2 694data PyExc_UnicodeError 695 added 3.2 696data PyExc_UnicodeTranslateError 697 added 3.2 698data PyExc_UnicodeWarning 699 added 3.2 700data PyExc_UserWarning 701 added 3.2 702data PyExc_ValueError 703 added 3.2 704data PyExc_Warning 705 added 3.2 706data PyExc_ZeroDivisionError 707 added 3.2 708function PyException_GetCause 709 added 3.2 710function PyException_GetContext 711 added 3.2 712function PyException_GetTraceback 713 added 3.2 714function PyException_SetCause 715 added 3.2 716function PyException_SetContext 717 added 3.2 718function PyException_SetTraceback 719 added 3.2 720function PyFile_FromFd 721 added 3.2 722function PyFile_GetLine 723 added 3.2 724function PyFile_WriteObject 725 added 3.2 726function PyFile_WriteString 727 added 3.2 728data PyFilter_Type 729 added 3.2 730function PyFloat_AsDouble 731 added 3.2 732function PyFloat_FromDouble 733 added 3.2 734function PyFloat_FromString 735 added 3.2 736function PyFloat_GetInfo 737 added 3.2 738function PyFloat_GetMax 739 added 3.2 740function PyFloat_GetMin 741 added 3.2 742data PyFloat_Type 743 added 3.2 744function PyFrozenSet_New 745 added 3.2 746data PyFrozenSet_Type 747 added 3.2 748function PyGC_Collect 749 added 3.2 750function PyGILState_Ensure 751 added 3.2 752function PyGILState_GetThisThreadState 753 added 3.2 754function PyGILState_Release 755 added 3.2 756data PyGetSetDescr_Type 757 added 3.2 758function PyImport_AddModule 759 added 3.2 760function PyImport_AppendInittab 761 added 3.2 762function PyImport_ExecCodeModule 763 added 3.2 764function PyImport_ExecCodeModuleEx 765 added 3.2 766function PyImport_ExecCodeModuleWithPathnames 767 added 3.2 768function PyImport_GetImporter 769 added 3.2 770function PyImport_GetMagicNumber 771 added 3.2 772function PyImport_GetMagicTag 773 added 3.2 774function PyImport_GetModuleDict 775 added 3.2 776function PyImport_Import 777 added 3.2 778function PyImport_ImportFrozenModule 779 added 3.2 780function PyImport_ImportModule 781 added 3.2 782function PyImport_ImportModuleLevel 783 added 3.2 784function PyImport_ImportModuleNoBlock 785 added 3.2 786function PyImport_ReloadModule 787 added 3.2 788function PyInterpreterState_Clear 789 added 3.2 790function PyInterpreterState_Delete 791 added 3.2 792function PyInterpreterState_New 793 added 3.2 794function PyIter_Next 795 added 3.2 796data PyListIter_Type 797 added 3.2 798data PyListRevIter_Type 799 added 3.2 800function PyList_Append 801 added 3.2 802function PyList_AsTuple 803 added 3.2 804function PyList_GetItem 805 added 3.2 806function PyList_GetSlice 807 added 3.2 808function PyList_Insert 809 added 3.2 810function PyList_New 811 added 3.2 812function PyList_Reverse 813 added 3.2 814function PyList_SetItem 815 added 3.2 816function PyList_SetSlice 817 added 3.2 818function PyList_Size 819 added 3.2 820function PyList_Sort 821 added 3.2 822data PyList_Type 823 added 3.2 824data PyLongRangeIter_Type 825 added 3.2 826function PyLong_AsDouble 827 added 3.2 828function PyLong_AsLong 829 added 3.2 830function PyLong_AsLongAndOverflow 831 added 3.2 832function PyLong_AsLongLong 833 added 3.2 834function PyLong_AsLongLongAndOverflow 835 added 3.2 836function PyLong_AsSize_t 837 added 3.2 838function PyLong_AsSsize_t 839 added 3.2 840function PyLong_AsUnsignedLong 841 added 3.2 842function PyLong_AsUnsignedLongLong 843 added 3.2 844function PyLong_AsUnsignedLongLongMask 845 added 3.2 846function PyLong_AsUnsignedLongMask 847 added 3.2 848function PyLong_AsVoidPtr 849 added 3.2 850function PyLong_FromDouble 851 added 3.2 852function PyLong_FromLong 853 added 3.2 854function PyLong_FromLongLong 855 added 3.2 856function PyLong_FromSize_t 857 added 3.2 858function PyLong_FromSsize_t 859 added 3.2 860function PyLong_FromString 861 added 3.2 862function PyLong_FromUnsignedLong 863 added 3.2 864function PyLong_FromUnsignedLongLong 865 added 3.2 866function PyLong_FromVoidPtr 867 added 3.2 868function PyLong_GetInfo 869 added 3.2 870data PyLong_Type 871 added 3.2 872data PyMap_Type 873 added 3.2 874function PyMapping_Check 875 added 3.2 876function PyMapping_GetItemString 877 added 3.2 878function PyMapping_HasKey 879 added 3.2 880function PyMapping_HasKeyString 881 added 3.2 882function PyMapping_Items 883 added 3.2 884function PyMapping_Keys 885 added 3.2 886function PyMapping_Length 887 added 3.2 888function PyMapping_SetItemString 889 added 3.2 890function PyMapping_Size 891 added 3.2 892function PyMapping_Values 893 added 3.2 894function PyMem_Free 895 added 3.2 896function PyMem_Malloc 897 added 3.2 898function PyMem_Realloc 899 added 3.2 900data PyMemberDescr_Type 901 added 3.2 902function PyMemoryView_FromObject 903 added 3.2 904function PyMemoryView_GetContiguous 905 added 3.2 906data PyMemoryView_Type 907 added 3.2 908data PyMethodDescr_Type 909 added 3.2 910function PyModule_AddIntConstant 911 added 3.2 912function PyModule_AddObject 913 added 3.2 914function PyModule_AddStringConstant 915 added 3.2 916function PyModule_Create2 917 added 3.2 918function PyModule_GetDef 919 added 3.2 920function PyModule_GetDict 921 added 3.2 922function PyModule_GetFilename 923 added 3.2 924function PyModule_GetFilenameObject 925 added 3.2 926function PyModule_GetName 927 added 3.2 928function PyModule_GetState 929 added 3.2 930function PyModule_New 931 added 3.2 932data PyModule_Type 933 added 3.2 934function PyNumber_Absolute 935 added 3.2 936function PyNumber_Add 937 added 3.2 938function PyNumber_And 939 added 3.2 940function PyNumber_AsSsize_t 941 added 3.2 942function PyNumber_Check 943 added 3.2 944function PyNumber_Divmod 945 added 3.2 946function PyNumber_Float 947 added 3.2 948function PyNumber_FloorDivide 949 added 3.2 950function PyNumber_InPlaceAdd 951 added 3.2 952function PyNumber_InPlaceAnd 953 added 3.2 954function PyNumber_InPlaceFloorDivide 955 added 3.2 956function PyNumber_InPlaceLshift 957 added 3.2 958function PyNumber_InPlaceMultiply 959 added 3.2 960function PyNumber_InPlaceOr 961 added 3.2 962function PyNumber_InPlacePower 963 added 3.2 964function PyNumber_InPlaceRemainder 965 added 3.2 966function PyNumber_InPlaceRshift 967 added 3.2 968function PyNumber_InPlaceSubtract 969 added 3.2 970function PyNumber_InPlaceTrueDivide 971 added 3.2 972function PyNumber_InPlaceXor 973 added 3.2 974function PyNumber_Index 975 added 3.2 976function PyNumber_Invert 977 added 3.2 978function PyNumber_Long 979 added 3.2 980function PyNumber_Lshift 981 added 3.2 982function PyNumber_Multiply 983 added 3.2 984function PyNumber_Negative 985 added 3.2 986function PyNumber_Or 987 added 3.2 988function PyNumber_Positive 989 added 3.2 990function PyNumber_Power 991 added 3.2 992function PyNumber_Remainder 993 added 3.2 994function PyNumber_Rshift 995 added 3.2 996function PyNumber_Subtract 997 added 3.2 998function PyNumber_ToBase 999 added 3.2 1000function PyNumber_TrueDivide 1001 added 3.2 1002function PyNumber_Xor 1003 added 3.2 1004function PyOS_AfterFork 1005 added 3.2 1006 ifdef HAVE_FORK 1007data PyOS_InputHook 1008 added 3.2 1009function PyOS_InterruptOccurred 1010 added 3.2 1011function PyOS_double_to_string 1012 added 3.2 1013function PyOS_getsig 1014 added 3.2 1015function PyOS_mystricmp 1016 added 3.2 1017function PyOS_mystrnicmp 1018 added 3.2 1019function PyOS_setsig 1020 added 3.2 1021function PyOS_snprintf 1022 added 3.2 1023function PyOS_string_to_double 1024 added 3.2 1025function PyOS_strtol 1026 added 3.2 1027function PyOS_strtoul 1028 added 3.2 1029function PyOS_vsnprintf 1030 added 3.2 1031function PyObject_ASCII 1032 added 3.2 1033function PyObject_AsFileDescriptor 1034 added 3.2 1035function PyObject_Bytes 1036 added 3.2 1037function PyObject_Call 1038 added 3.2 1039function PyObject_CallFunction 1040 added 3.2 1041function PyObject_CallFunctionObjArgs 1042 added 3.2 1043function PyObject_CallMethod 1044 added 3.2 1045function PyObject_CallMethodObjArgs 1046 added 3.2 1047function PyObject_CallObject 1048 added 3.2 1049function PyObject_ClearWeakRefs 1050 added 3.2 1051function PyObject_DelItem 1052 added 3.2 1053function PyObject_DelItemString 1054 added 3.2 1055function PyObject_Dir 1056 added 3.2 1057function PyObject_Format 1058 added 3.2 1059function PyObject_Free 1060 added 3.2 1061function PyObject_GC_Del 1062 added 3.2 1063function PyObject_GC_Track 1064 added 3.2 1065function PyObject_GC_UnTrack 1066 added 3.2 1067function PyObject_GenericGetAttr 1068 added 3.2 1069function PyObject_GenericSetAttr 1070 added 3.2 1071function PyObject_GetAttr 1072 added 3.2 1073function PyObject_GetAttrString 1074 added 3.2 1075function PyObject_GetItem 1076 added 3.2 1077function PyObject_GetIter 1078 added 3.2 1079function PyObject_HasAttr 1080 added 3.2 1081function PyObject_HasAttrString 1082 added 3.2 1083function PyObject_Hash 1084 added 3.2 1085function PyObject_HashNotImplemented 1086 added 3.2 1087function PyObject_Init 1088 added 3.2 1089function PyObject_InitVar 1090 added 3.2 1091function PyObject_IsInstance 1092 added 3.2 1093function PyObject_IsSubclass 1094 added 3.2 1095function PyObject_IsTrue 1096 added 3.2 1097function PyObject_Length 1098 added 3.2 1099function PyObject_Malloc 1100 added 3.2 1101function PyObject_Not 1102 added 3.2 1103function PyObject_Realloc 1104 added 3.2 1105function PyObject_Repr 1106 added 3.2 1107function PyObject_RichCompare 1108 added 3.2 1109function PyObject_RichCompareBool 1110 added 3.2 1111function PyObject_SelfIter 1112 added 3.2 1113function PyObject_SetAttr 1114 added 3.2 1115function PyObject_SetAttrString 1116 added 3.2 1117function PyObject_SetItem 1118 added 3.2 1119function PyObject_Size 1120 added 3.2 1121function PyObject_Str 1122 added 3.2 1123function PyObject_Type 1124 added 3.2 1125data PyProperty_Type 1126 added 3.2 1127data PyRangeIter_Type 1128 added 3.2 1129data PyRange_Type 1130 added 3.2 1131data PyReversed_Type 1132 added 3.2 1133function PySeqIter_New 1134 added 3.2 1135data PySeqIter_Type 1136 added 3.2 1137function PySequence_Check 1138 added 3.2 1139function PySequence_Concat 1140 added 3.2 1141function PySequence_Contains 1142 added 3.2 1143function PySequence_Count 1144 added 3.2 1145function PySequence_DelItem 1146 added 3.2 1147function PySequence_DelSlice 1148 added 3.2 1149function PySequence_Fast 1150 added 3.2 1151function PySequence_GetItem 1152 added 3.2 1153function PySequence_GetSlice 1154 added 3.2 1155function PySequence_In 1156 added 3.2 1157function PySequence_InPlaceConcat 1158 added 3.2 1159function PySequence_InPlaceRepeat 1160 added 3.2 1161function PySequence_Index 1162 added 3.2 1163function PySequence_Length 1164 added 3.2 1165function PySequence_List 1166 added 3.2 1167function PySequence_Repeat 1168 added 3.2 1169function PySequence_SetItem 1170 added 3.2 1171function PySequence_SetSlice 1172 added 3.2 1173function PySequence_Size 1174 added 3.2 1175function PySequence_Tuple 1176 added 3.2 1177data PySetIter_Type 1178 added 3.2 1179function PySet_Add 1180 added 3.2 1181function PySet_Clear 1182 added 3.2 1183function PySet_Contains 1184 added 3.2 1185function PySet_Discard 1186 added 3.2 1187function PySet_New 1188 added 3.2 1189function PySet_Pop 1190 added 3.2 1191function PySet_Size 1192 added 3.2 1193data PySet_Type 1194 added 3.2 1195function PySlice_GetIndices 1196 added 3.2 1197function PySlice_GetIndicesEx 1198 added 3.2 1199function PySlice_New 1200 added 3.2 1201data PySlice_Type 1202 added 3.2 1203function PyState_FindModule 1204 added 3.2 1205function PyStructSequence_GetItem 1206 added 3.2 1207function PyStructSequence_New 1208 added 3.2 1209function PyStructSequence_NewType 1210 added 3.2 1211function PyStructSequence_SetItem 1212 added 3.2 1213data PySuper_Type 1214 added 3.2 1215function PySys_AddWarnOption 1216 added 3.2 1217function PySys_AddWarnOptionUnicode 1218 added 3.2 1219function PySys_FormatStderr 1220 added 3.2 1221function PySys_FormatStdout 1222 added 3.2 1223function PySys_GetObject 1224 added 3.2 1225function PySys_HasWarnOptions 1226 added 3.2 1227function PySys_ResetWarnOptions 1228 added 3.2 1229function PySys_SetArgv 1230 added 3.2 1231function PySys_SetArgvEx 1232 added 3.2 1233function PySys_SetObject 1234 added 3.2 1235function PySys_SetPath 1236 added 3.2 1237function PySys_WriteStderr 1238 added 3.2 1239function PySys_WriteStdout 1240 added 3.2 1241function PyThreadState_Clear 1242 added 3.2 1243function PyThreadState_Delete 1244 added 3.2 1245function PyThreadState_DeleteCurrent 1246 added 3.2 1247 abi_only 1248function PyThreadState_Get 1249 added 3.2 1250function PyThreadState_GetDict 1251 added 3.2 1252function PyThreadState_New 1253 added 3.2 1254function PyThreadState_SetAsyncExc 1255 added 3.2 1256function PyThreadState_Swap 1257 added 3.2 1258function PyTraceBack_Here 1259 added 3.2 1260function PyTraceBack_Print 1261 added 3.2 1262data PyTraceBack_Type 1263 added 3.2 1264data PyTupleIter_Type 1265 added 3.2 1266function PyTuple_GetItem 1267 added 3.2 1268function PyTuple_GetSlice 1269 added 3.2 1270function PyTuple_New 1271 added 3.2 1272function PyTuple_Pack 1273 added 3.2 1274function PyTuple_SetItem 1275 added 3.2 1276function PyTuple_Size 1277 added 3.2 1278data PyTuple_Type 1279 added 3.2 1280function PyType_ClearCache 1281 added 3.2 1282function PyType_GenericAlloc 1283 added 3.2 1284function PyType_GenericNew 1285 added 3.2 1286function PyType_GetFlags 1287 added 3.2 1288function PyType_IsSubtype 1289 added 3.2 1290function PyType_Modified 1291 added 3.2 1292function PyType_Ready 1293 added 3.2 1294data PyType_Type 1295 added 3.2 1296function PyUnicodeDecodeError_Create 1297 added 3.2 1298function PyUnicodeDecodeError_GetEncoding 1299 added 3.2 1300function PyUnicodeDecodeError_GetEnd 1301 added 3.2 1302function PyUnicodeDecodeError_GetObject 1303 added 3.2 1304function PyUnicodeDecodeError_GetReason 1305 added 3.2 1306function PyUnicodeDecodeError_GetStart 1307 added 3.2 1308function PyUnicodeDecodeError_SetEnd 1309 added 3.2 1310function PyUnicodeDecodeError_SetReason 1311 added 3.2 1312function PyUnicodeDecodeError_SetStart 1313 added 3.2 1314function PyUnicodeEncodeError_GetEncoding 1315 added 3.2 1316function PyUnicodeEncodeError_GetEnd 1317 added 3.2 1318function PyUnicodeEncodeError_GetObject 1319 added 3.2 1320function PyUnicodeEncodeError_GetReason 1321 added 3.2 1322function PyUnicodeEncodeError_GetStart 1323 added 3.2 1324function PyUnicodeEncodeError_SetEnd 1325 added 3.2 1326function PyUnicodeEncodeError_SetReason 1327 added 3.2 1328function PyUnicodeEncodeError_SetStart 1329 added 3.2 1330data PyUnicodeIter_Type 1331 added 3.2 1332function PyUnicodeTranslateError_GetEnd 1333 added 3.2 1334function PyUnicodeTranslateError_GetObject 1335 added 3.2 1336function PyUnicodeTranslateError_GetReason 1337 added 3.2 1338function PyUnicodeTranslateError_GetStart 1339 added 3.2 1340function PyUnicodeTranslateError_SetEnd 1341 added 3.2 1342function PyUnicodeTranslateError_SetReason 1343 added 3.2 1344function PyUnicodeTranslateError_SetStart 1345 added 3.2 1346function PyUnicode_Append 1347 added 3.2 1348function PyUnicode_AppendAndDel 1349 added 3.2 1350function PyUnicode_AsASCIIString 1351 added 3.2 1352function PyUnicode_AsCharmapString 1353 added 3.2 1354function PyUnicode_AsDecodedObject 1355 added 3.2 1356function PyUnicode_AsDecodedUnicode 1357 added 3.2 1358function PyUnicode_AsEncodedObject 1359 added 3.2 1360function PyUnicode_AsEncodedString 1361 added 3.2 1362function PyUnicode_AsEncodedUnicode 1363 added 3.2 1364function PyUnicode_AsLatin1String 1365 added 3.2 1366function PyUnicode_AsRawUnicodeEscapeString 1367 added 3.2 1368function PyUnicode_AsUTF16String 1369 added 3.2 1370function PyUnicode_AsUTF32String 1371 added 3.2 1372function PyUnicode_AsUTF8String 1373 added 3.2 1374function PyUnicode_AsUnicodeEscapeString 1375 added 3.2 1376function PyUnicode_AsWideChar 1377 added 3.2 1378function PyUnicode_Compare 1379 added 3.2 1380function PyUnicode_Concat 1381 added 3.2 1382function PyUnicode_Contains 1383 added 3.2 1384function PyUnicode_Count 1385 added 3.2 1386function PyUnicode_Decode 1387 added 3.2 1388function PyUnicode_DecodeASCII 1389 added 3.2 1390function PyUnicode_DecodeCharmap 1391 added 3.2 1392function PyUnicode_DecodeFSDefault 1393 added 3.2 1394function PyUnicode_DecodeFSDefaultAndSize 1395 added 3.2 1396function PyUnicode_DecodeLatin1 1397 added 3.2 1398function PyUnicode_DecodeRawUnicodeEscape 1399 added 3.2 1400function PyUnicode_DecodeUTF16 1401 added 3.2 1402function PyUnicode_DecodeUTF16Stateful 1403 added 3.2 1404function PyUnicode_DecodeUTF32 1405 added 3.2 1406function PyUnicode_DecodeUTF32Stateful 1407 added 3.2 1408function PyUnicode_DecodeUTF8 1409 added 3.2 1410function PyUnicode_DecodeUTF8Stateful 1411 added 3.2 1412function PyUnicode_DecodeUnicodeEscape 1413 added 3.2 1414function PyUnicode_FSConverter 1415 added 3.2 1416function PyUnicode_FSDecoder 1417 added 3.2 1418function PyUnicode_Find 1419 added 3.2 1420function PyUnicode_Format 1421 added 3.2 1422function PyUnicode_FromEncodedObject 1423 added 3.2 1424function PyUnicode_FromFormat 1425 added 3.2 1426function PyUnicode_FromFormatV 1427 added 3.2 1428function PyUnicode_FromObject 1429 added 3.2 1430function PyUnicode_FromOrdinal 1431 added 3.2 1432function PyUnicode_FromString 1433 added 3.2 1434function PyUnicode_FromStringAndSize 1435 added 3.2 1436function PyUnicode_FromWideChar 1437 added 3.2 1438function PyUnicode_GetDefaultEncoding 1439 added 3.2 1440function PyUnicode_GetSize 1441 added 3.2 1442function PyUnicode_IsIdentifier 1443 added 3.2 1444function PyUnicode_Join 1445 added 3.2 1446function PyUnicode_Partition 1447 added 3.2 1448function PyUnicode_RPartition 1449 added 3.2 1450function PyUnicode_RSplit 1451 added 3.2 1452function PyUnicode_Replace 1453 added 3.2 1454function PyUnicode_Resize 1455 added 3.2 1456function PyUnicode_RichCompare 1457 added 3.2 1458function PyUnicode_Split 1459 added 3.2 1460function PyUnicode_Splitlines 1461 added 3.2 1462function PyUnicode_Tailmatch 1463 added 3.2 1464function PyUnicode_Translate 1465 added 3.2 1466function PyUnicode_BuildEncodingMap 1467 added 3.2 1468function PyUnicode_CompareWithASCIIString 1469 added 3.2 1470function PyUnicode_DecodeUTF7 1471 added 3.2 1472function PyUnicode_DecodeUTF7Stateful 1473 added 3.2 1474function PyUnicode_EncodeFSDefault 1475 added 3.2 1476function PyUnicode_InternFromString 1477 added 3.2 1478function PyUnicode_InternImmortal 1479 added 3.2 1480function PyUnicode_InternInPlace 1481 added 3.2 1482data PyUnicode_Type 1483 added 3.2 1484function PyWeakref_GetObject 1485 added 3.2 1486function PyWeakref_NewProxy 1487 added 3.2 1488function PyWeakref_NewRef 1489 added 3.2 1490data PyWrapperDescr_Type 1491 added 3.2 1492function PyWrapper_New 1493 added 3.2 1494data PyZip_Type 1495 added 3.2 1496function Py_AddPendingCall 1497 added 3.2 1498function Py_AtExit 1499 added 3.2 1500function Py_BuildValue 1501 added 3.2 1502function Py_CompileString 1503 added 3.2 1504function Py_DecRef 1505 added 3.2 1506function Py_EndInterpreter 1507 added 3.2 1508function Py_Exit 1509 added 3.2 1510function Py_FatalError 1511 added 3.2 1512data Py_FileSystemDefaultEncoding 1513 added 3.2 1514function Py_Finalize 1515 added 3.2 1516function Py_GetBuildInfo 1517 added 3.2 1518function Py_GetCompiler 1519 added 3.2 1520function Py_GetCopyright 1521 added 3.2 1522function Py_GetExecPrefix 1523 added 3.2 1524function Py_GetPath 1525 added 3.2 1526function Py_GetPlatform 1527 added 3.2 1528function Py_GetPrefix 1529 added 3.2 1530function Py_GetProgramFullPath 1531 added 3.2 1532function Py_GetProgramName 1533 added 3.2 1534function Py_GetPythonHome 1535 added 3.2 1536function Py_GetRecursionLimit 1537 added 3.2 1538function Py_GetVersion 1539 added 3.2 1540data Py_HasFileSystemDefaultEncoding 1541 added 3.2 1542function Py_IncRef 1543 added 3.2 1544function Py_Initialize 1545 added 3.2 1546function Py_InitializeEx 1547 added 3.2 1548function Py_IsInitialized 1549 added 3.2 1550function Py_Main 1551 added 3.2 1552function Py_MakePendingCalls 1553 added 3.2 1554function Py_NewInterpreter 1555 added 3.2 1556function Py_ReprEnter 1557 added 3.2 1558function Py_ReprLeave 1559 added 3.2 1560function Py_SetProgramName 1561 added 3.2 1562function Py_SetPythonHome 1563 added 3.2 1564function Py_SetRecursionLimit 1565 added 3.2 1566function Py_VaBuildValue 1567 added 3.2 1568 1569function _PyErr_BadInternalCall 1570 added 3.2 1571 abi_only 1572function _PyObject_CallFunction_SizeT 1573 added 3.2 1574 abi_only 1575function _PyObject_CallMethod_SizeT 1576 added 3.2 1577 abi_only 1578function _PyObject_GC_Malloc 1579 added 3.2 1580 abi_only 1581function _PyObject_GC_New 1582 added 3.2 1583 abi_only 1584function _PyObject_GC_NewVar 1585 added 3.2 1586 abi_only 1587function _PyObject_GC_Resize 1588 added 3.2 1589 abi_only 1590function _PyObject_New 1591 added 3.2 1592 abi_only 1593function _PyObject_NewVar 1594 added 3.2 1595 abi_only 1596function _PyState_AddModule 1597 added 3.2 1598 abi_only 1599function _PyThreadState_Init 1600 added 3.2 1601 abi_only 1602function _PyThreadState_Prealloc 1603 added 3.2 1604 abi_only 1605function _PyTrash_deposit_object 1606 added 3.2 1607 abi_only 1608function _PyTrash_destroy_chain 1609 added 3.2 1610 abi_only 1611data _PyWeakref_CallableProxyType 1612 added 3.2 1613 abi_only 1614data _PyWeakref_ProxyType 1615 added 3.2 1616 abi_only 1617data _PyWeakref_RefType 1618 added 3.2 1619 abi_only 1620function _Py_BuildValue_SizeT 1621 added 3.2 1622 abi_only 1623function _Py_CheckRecursiveCall 1624 added 3.2 1625 abi_only 1626function _Py_Dealloc 1627 added 3.2 1628 abi_only 1629data _Py_EllipsisObject 1630 added 3.2 1631 abi_only 1632data _Py_FalseStruct 1633 added 3.2 1634 abi_only 1635data _Py_NoneStruct 1636 added 3.2 1637 abi_only 1638data _Py_NotImplementedStruct 1639 added 3.2 1640 abi_only 1641data _Py_SwappedOp 1642 added 3.2 1643 abi_only 1644data _Py_TrueStruct 1645 added 3.2 1646 abi_only 1647function _Py_VaBuildValue_SizeT 1648 added 3.2 1649 abi_only 1650 1651# Old buffer protocol support (deprecated) 1652 1653function PyObject_AsCharBuffer 1654 added 3.2 1655function PyObject_AsReadBuffer 1656 added 3.2 1657function PyObject_AsWriteBuffer 1658 added 3.2 1659function PyObject_CheckReadBuffer 1660 added 3.2 1661 1662# Flags are implicitly part of the ABI: 1663 1664const Py_TPFLAGS_DEFAULT 1665 added 3.2 1666const Py_TPFLAGS_BASETYPE 1667 added 3.2 1668const Py_TPFLAGS_HAVE_GC 1669 added 3.2 1670 1671const METH_VARARGS 1672 added 3.2 1673const METH_NOARGS 1674 added 3.2 1675const METH_O 1676 added 3.2 1677const METH_CLASS 1678 added 3.2 1679const METH_STATIC 1680 added 3.2 1681const METH_COEXIST 1682 added 3.2 1683# METH_STACKLESS is undocumented 1684# METH_FASTCALL is not part of limited API. 1685 1686# The following are defined in private headers, but historically 1687# they were exported as part of the stable ABI. 1688function PyMarshal_ReadObjectFromString 1689 added 3.2 1690 abi_only 1691function PyMarshal_WriteObjectToString 1692 added 3.2 1693 abi_only 1694function PyMember_GetOne 1695 added 3.2 1696 abi_only 1697function PyMember_SetOne 1698 added 3.2 1699 abi_only 1700 1701# TLS api is deprecated; superseded by TSS API 1702 1703function PyThread_ReInitTLS 1704 added 3.2 1705function PyThread_create_key 1706 added 3.2 1707function PyThread_delete_key 1708 added 3.2 1709function PyThread_set_key_value 1710 added 3.2 1711function PyThread_get_key_value 1712 added 3.2 1713function PyThread_delete_key_value 1714 added 3.2 1715function PyThread_acquire_lock 1716 added 3.2 1717function PyThread_acquire_lock_timed 1718 added 3.2 1719function PyThread_allocate_lock 1720 added 3.2 1721function PyThread_exit_thread 1722 added 3.2 1723function PyThread_free_lock 1724 added 3.2 1725function PyThread_get_stacksize 1726 added 3.2 1727function PyThread_get_thread_ident 1728 added 3.2 1729function PyThread_get_thread_native_id 1730 added 3.2 1731function PyThread_init_thread 1732 added 3.2 1733function PyThread_release_lock 1734 added 3.2 1735function PyThread_set_stacksize 1736 added 3.2 1737function PyThread_start_new_thread 1738 added 3.2 1739 1740# The following were added in PC/python3.def in Python 3.3: 1741# 7800f75827b1be557be16f3b18f5170fbf9fae08 1742# 9c56409d3353b8cd4cfc19e0467bbe23fd34fc92 1743# 75aeaa9b18667219bbacbc58ba6efecccef9dfbd 1744 1745function PyState_AddModule 1746 added 3.3 1747function PyState_RemoveModule 1748 added 3.3 1749function PyType_FromSpecWithBases 1750 added 3.3 1751function _PyArg_Parse_SizeT 1752 added 3.3 1753 abi_only 1754function _PyArg_ParseTuple_SizeT 1755 added 3.3 1756 abi_only 1757function _PyArg_ParseTupleAndKeywords_SizeT 1758 added 3.3 1759 abi_only 1760function _PyArg_VaParse_SizeT 1761 added 3.3 1762 abi_only 1763function _PyArg_VaParseTupleAndKeywords_SizeT 1764 added 3.3 1765 abi_only 1766function PyThread_GetInfo 1767 added 3.3 1768 1769# The following were added in PC/python3.def in Python 3.4: 1770# 3ba3a3ee56c142e93d6bbe20ff6bf939212a30f0 1771 1772function PyCFunction_New 1773 added 3.4 1774function PyType_GetSlot 1775 added 3.4 1776 1777# The following were added in PC/python3.def in Python 3.5: 1778# 11d7b1423fc44d764eba7065ea5eba58ed748b21 1779# f3b73ad51da3097d7915796fdc62608b1ab90c0a 1780 1781function PyErr_FormatV 1782 added 3.5 1783function PyModuleDef_Init 1784 added 3.5 1785data PyModuleDef_Type 1786 added 3.5 1787 1788# New slots in 3.5: 1789# d51374ed78a3e3145911a16cdf3b9b84b3ba7d15 - Matrix multiplication (PEP 465) 1790# 7544508f0245173bff5866aa1598c8f6cce1fc5f - Async iterators (PEP 492) 1791# 0969a9f8abcf98bb43ea77b1dd050426adcfb4f7 - tp_finalize 1792 1793const Py_nb_matrix_multiply 1794 added 3.5 1795const Py_nb_inplace_matrix_multiply 1796 added 3.5 1797const Py_am_await 1798 added 3.5 1799const Py_am_aiter 1800 added 3.5 1801const Py_am_anext 1802 added 3.5 1803const Py_tp_finalize 1804 added 3.5 1805 1806# The following were added in PC/python3.def in Python 3.6: 1807 1808function Py_FinalizeEx 1809 added 3.6 1810 1811function PyOS_FSPath 1812 added 3.6 1813function PyErr_ResourceWarning 1814 added 3.6 1815function PyErr_SetImportErrorSubclass 1816 added 3.6 1817data PyExc_ModuleNotFoundError 1818 added 3.6 1819 1820# The following were added in PC/python3.def in Python 3.6.1 and 3.5.3/3.5.4: 1821 1822function PyCodec_NameReplaceErrors 1823 added 3.7 # (and 3.6.1 and 3.5.3) 1824function PyErr_GetExcInfo 1825 added 3.7 # (and 3.6.1 and 3.5.3) 1826function PyErr_SetExcInfo 1827 added 3.7 # (and 3.6.1 and 3.5.3) 1828function PyErr_SetFromErrnoWithFilenameObjects 1829 added 3.7 # (and 3.6.1 and 3.5.3) 1830function PyErr_SetImportError 1831 added 3.7 # (and 3.6.1 and 3.5.3) 1832function PyErr_SyntaxLocationEx 1833 added 3.7 # (and 3.6.1 and 3.5.3) 1834data PyExc_BlockingIOError 1835 added 3.7 # (and 3.6.1 and 3.5.3) 1836data PyExc_BrokenPipeError 1837 added 3.7 # (and 3.6.1 and 3.5.3) 1838data PyExc_ChildProcessError 1839 added 3.7 # (and 3.6.1 and 3.5.3) 1840data PyExc_ConnectionAbortedError 1841 added 3.7 # (and 3.6.1 and 3.5.3) 1842data PyExc_ConnectionError 1843 added 3.7 # (and 3.6.1 and 3.5.3) 1844data PyExc_ConnectionRefusedError 1845 added 3.7 # (and 3.6.1 and 3.5.3) 1846data PyExc_ConnectionResetError 1847 added 3.7 # (and 3.6.1 and 3.5.3) 1848data PyExc_FileExistsError 1849 added 3.7 # (and 3.6.1 and 3.5.3) 1850data PyExc_FileNotFoundError 1851 added 3.7 # (and 3.6.1 and 3.5.3) 1852data PyExc_InterruptedError 1853 added 3.7 # (and 3.6.1 and 3.5.3) 1854data PyExc_IsADirectoryError 1855 added 3.7 # (and 3.6.1 and 3.5.3) 1856data PyExc_NotADirectoryError 1857 added 3.7 # (and 3.6.1 and 3.5.3) 1858data PyExc_PermissionError 1859 added 3.7 # (and 3.6.1 and 3.5.3) 1860data PyExc_ProcessLookupError 1861 added 3.7 # (and 3.6.1 and 3.5.3) 1862data PyExc_RecursionError 1863 added 3.7 # (and 3.6.1 and 3.5.3) 1864data PyExc_ResourceWarning 1865 added 3.7 # (and 3.6.1 and 3.5.3) 1866data PyExc_StopAsyncIteration 1867 added 3.7 # (and 3.6.1 and 3.5.3) 1868data PyExc_TimeoutError 1869 added 3.7 # (and 3.6.1 and 3.5.3) 1870function PyImport_AddModuleObject 1871 added 3.7 # (and 3.6.1 and 3.5.3) 1872function PyImport_ExecCodeModuleObject 1873 added 3.7 # (and 3.6.1 and 3.5.3) 1874function PyImport_ImportFrozenModuleObject 1875 added 3.7 # (and 3.6.1 and 3.5.3) 1876function PyImport_ImportModuleLevelObject 1877 added 3.7 # (and 3.6.1 and 3.5.3) 1878function PyMem_Calloc 1879 added 3.7 # (and 3.6.1 and 3.5.3) 1880function PyMemoryView_FromMemory 1881 added 3.7 # (and 3.6.1 and 3.5.3) 1882function PyModule_AddFunctions 1883 added 3.7 # (and 3.6.1 and 3.5.3) 1884function PyModule_ExecDef 1885 added 3.7 # (and 3.6.1 and 3.5.3) 1886function PyModule_FromDefAndSpec2 1887 added 3.7 # (and 3.6.1 and 3.5.3) 1888function PyModule_GetNameObject 1889 added 3.7 # (and 3.6.1 and 3.5.3) 1890function PyModule_NewObject 1891 added 3.7 # (and 3.6.1 and 3.5.3) 1892function PyModule_SetDocString 1893 added 3.7 # (and 3.6.1 and 3.5.3) 1894function PyNumber_InPlaceMatrixMultiply 1895 added 3.7 # (and 3.6.1 and 3.5.3) 1896function PyNumber_MatrixMultiply 1897 added 3.7 # (and 3.6.1 and 3.5.3) 1898function PyObject_Calloc 1899 added 3.7 # (and 3.6.1 and 3.5.3) 1900function PyObject_GenericSetDict 1901 added 3.7 # (and 3.6.1 and 3.5.3) 1902function PySys_AddXOption 1903 added 3.7 # (and 3.6.1 and 3.5.3) 1904function PySys_GetXOptions 1905 added 3.7 # (and 3.6.1 and 3.5.3) 1906function PyUnicode_AsUCS4 1907 added 3.7 # (and 3.6.1 and 3.5.3) 1908function PyUnicode_AsUCS4Copy 1909 added 3.7 # (and 3.6.1 and 3.5.3) 1910function PyUnicode_AsWideCharString 1911 added 3.7 # (and 3.6.1 and 3.5.3) 1912function PyUnicode_DecodeLocale 1913 added 3.7 # (and 3.6.1 and 3.5.3) 1914function PyUnicode_DecodeLocaleAndSize 1915 added 3.7 # (and 3.6.1 and 3.5.3) 1916function PyUnicode_EncodeLocale 1917 added 3.7 # (and 3.6.1 and 3.5.3) 1918function PyUnicode_FindChar 1919 added 3.7 # (and 3.6.1 and 3.5.3) 1920function PyUnicode_GetLength 1921 added 3.7 # (and 3.6.1 and 3.5.3) 1922function PyUnicode_ReadChar 1923 added 3.7 # (and 3.6.1 and 3.5.3) 1924function PyUnicode_Substring 1925 added 3.7 # (and 3.6.1 and 3.5.3) 1926function PyUnicode_WriteChar 1927 added 3.7 # (and 3.6.1 and 3.5.3) 1928function Py_DecodeLocale 1929 added 3.7 # (and 3.6.1 and 3.5.3) 1930function Py_EncodeLocale 1931 added 3.7 # (and 3.6.1 and 3.5.3) 1932function Py_SetPath 1933 added 3.7 # (and 3.6.1 and 3.5.3) 1934function _PyTrash_thread_deposit_object 1935 added 3.7 # (and 3.6.1 and 3.5.3) 1936 abi_only 1937function _PyTrash_thread_destroy_chain 1938 added 3.7 # (and 3.6.1 and 3.5.3) 1939 abi_only 1940function PyErr_SetExcFromWindowsErr 1941 added 3.7 # (and 3.6.1 and 3.5.3) 1942 ifdef MS_WINDOWS 1943function PyErr_SetExcFromWindowsErrWithFilename 1944 added 3.7 # (and 3.6.1 and 3.5.3) 1945 ifdef MS_WINDOWS 1946function PyErr_SetExcFromWindowsErrWithFilenameObject 1947 added 3.7 # (and 3.6.1 and 3.5.3) 1948 ifdef MS_WINDOWS 1949function PyErr_SetExcFromWindowsErrWithFilenameObjects 1950 added 3.7 # (and 3.6.1 and 3.5.3) 1951 ifdef MS_WINDOWS 1952function PyErr_SetFromWindowsErr 1953 added 3.7 # (and 3.6.1 and 3.5.3) 1954 ifdef MS_WINDOWS 1955function PyErr_SetFromWindowsErrWithFilename 1956 added 3.7 # (and 3.6.1 and 3.5.3) 1957 ifdef MS_WINDOWS 1958data PyExc_WindowsError 1959 added 3.7 # (and 3.6.1 and 3.5.3) 1960 ifdef MS_WINDOWS 1961function PyOS_CheckStack 1962 added 3.7 # (and 3.6.1 and 3.5.3) 1963 ifdef USE_STACKCHECK 1964function PyUnicode_AsMBCSString 1965 added 3.7 # (and 3.6.1 and 3.5.3) 1966 ifdef MS_WINDOWS 1967function PyUnicode_DecodeCodePageStateful 1968 added 3.7 # (and 3.6.1 and 3.5.3) 1969 ifdef MS_WINDOWS 1970function PyUnicode_DecodeMBCS 1971 added 3.7 # (and 3.6.1 and 3.5.3) 1972 ifdef MS_WINDOWS 1973function PyUnicode_DecodeMBCSStateful 1974 added 3.7 # (and 3.6.1 and 3.5.3) 1975 ifdef MS_WINDOWS 1976function PyUnicode_EncodeCodePage 1977 added 3.7 # (and 3.6.1 and 3.5.3) 1978 ifdef MS_WINDOWS 1979 1980# 3.5.4: 1981function PySlice_AdjustIndices 1982 added 3.7 # (and 3.6.1 and 3.5.4) 1983function PySlice_Unpack 1984 added 3.7 # (and 3.6.1 and 3.5.4) 1985 1986# The following were added in PC/python3.def in Python 3.7: 1987 1988function PyInterpreterState_GetID 1989 added 3.7 1990function PyThread_tss_alloc 1991 added 3.7 1992function PyThread_tss_create 1993 added 3.7 1994function PyThread_tss_delete 1995 added 3.7 1996function PyThread_tss_free 1997 added 3.7 1998function PyThread_tss_get 1999 added 3.7 2000function PyThread_tss_is_created 2001 added 3.7 2002function PyThread_tss_set 2003 added 3.7 2004function PyOS_BeforeFork 2005 added 3.7 2006 ifdef HAVE_FORK 2007function PyOS_AfterFork_Parent 2008 added 3.7 2009 ifdef HAVE_FORK 2010function PyOS_AfterFork_Child 2011 added 3.7 2012 ifdef HAVE_FORK 2013 2014# New method flags in 3.7 (PEP 590): 2015 2016const METH_FASTCALL 2017 added 3.7 2018const METH_METHOD 2019 added 3.7 2020 2021# The following were added in PC/python3.def in Python 3.8: 2022 2023function PyImport_GetModule 2024 added 3.8 2025data Py_UTF8Mode 2026 added 3.8 2027function PyExceptionClass_Name 2028 added 3.8 2029function PyIndex_Check 2030 added 3.8 2031function PyIter_Check 2032 added 3.8 2033data PyDictRevIterItem_Type 2034 added 3.8 2035data PyDictRevIterKey_Type 2036 added 3.8 2037data PyDictRevIterValue_Type 2038 added 3.8 2039function PyInterpreterState_GetDict 2040 added 3.8 2041function Py_BytesMain 2042 added 3.8 2043 2044# New type flag (PEP 590): 2045 2046const Py_TPFLAGS_METHOD_DESCRIPTOR 2047 added 3.8 2048 2049# The following were added in PC/python3.def in Python 3.9: 2050 2051function Py_EnterRecursiveCall 2052 added 3.9 2053function Py_LeaveRecursiveCall 2054 added 3.9 2055function Py_GenericAlias 2056 added 3.9 2057data Py_GenericAliasType 2058 added 3.9 2059function PyCMethod_New 2060 added 3.9 # Windows: 3.10 & 3.9.2 -- https://bugs.python.org/issue43155 2061function PyInterpreterState_Get 2062 added 3.9 2063function PyObject_GC_IsFinalized 2064 added 3.9 2065function PyObject_GC_IsTracked 2066 added 3.9 2067 2068# The following were added in PC/python3.def in Python 3.10: 2069 2070function Py_GetArgcArgv 2071 added 3.10 2072 abi_only 2073function PyIter_Send 2074 added 3.10 2075function PyUnicode_AsUTF8AndSize 2076 added 3.10 2077function PyObject_GenericGetDict 2078 added 3.10 2079function Py_NewRef 2080 added 3.10 2081function Py_XNewRef 2082 added 3.10 2083function PyModule_AddType 2084 added 3.10 2085function PyType_FromModuleAndSpec 2086 added 3.10 2087function PyType_GetModule 2088 added 3.10 2089function PyType_GetModuleState 2090 added 3.10 2091function PyFrame_GetLineNumber 2092 added 3.10 2093function PyFrame_GetCode 2094 added 3.10 2095function PyObject_CallNoArgs 2096 added 3.10 2097function PyThreadState_GetFrame 2098 added 3.10 2099function PyThreadState_GetID 2100 added 3.10 2101function PyThreadState_GetInterpreter 2102 added 3.10 2103function PyModule_AddObjectRef 2104 added 3.10 2105data Py_FileSystemDefaultEncodeErrors 2106 added 3.10 2107function PyCodec_Unregister 2108 added 3.10 2109function PyErr_SetInterruptEx 2110 added 3.10 2111function Py_Is 2112 added 3.10 2113function Py_IsTrue 2114 added 3.10 2115function Py_IsFalse 2116 added 3.10 2117function Py_IsNone 2118 added 3.10 2119function _Py_IncRef 2120 added 3.10 2121 abi_only 2122function _Py_DecRef 2123 added 3.10 2124 abi_only 2125function PyAIter_Check 2126 added 3.10 2127function PyObject_GetAIter 2128 added 3.10 2129data PyExc_EncodingWarning 2130 added 3.10 2131 2132# Support for Stable ABI in debug builds 2133 2134data _Py_RefTotal 2135 added 3.10 2136 abi_only 2137 ifdef Py_REF_DEBUG 2138function _Py_NegativeRefcount 2139 added 3.10 2140 abi_only 2141 ifdef Py_REF_DEBUG 2142 2143# New slots in 3.10: 2144 2145const Py_am_send 2146 added 3.10 2147 2148 2149# New GC control functions in Py3.10 (https://bugs.python.org/issue28254) 2150 2151function PyGC_Disable 2152 added 3.10 2153function PyGC_Enable 2154 added 3.10 2155function PyGC_IsEnabled 2156 added 3.10 2157 2158 2159# (Detailed comments aren't really needed for further entries: from here on 2160# we can use version control logs.) 2161