bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set PyCode_New as a compatibility wrapper (GH-13959)

Add PyCode_NewEx to be used internally and set PyCode_New as a compatibility wrapper
This commit is contained in:
Pablo Galindo 2019-07-01 11:35:05 +01:00 committed by Petr Viktorin
parent fc1fbe6099
commit 4a2edc34a4
8 changed files with 79 additions and 34 deletions

View file

@ -234,9 +234,26 @@ PyCode_Check:PyObject*:co:0:
PyCode_GetNumFree:int:::
PyCode_GetNumFree:PyCodeObject*:co:0:
PyCode_NewWithPosOnlyArgs:PyCodeObject*::+1:
PyCode_NewWithPosOnlyArgs:int:argcount::
PyCode_NewWithPosOnlyArgs:int:posonlyargcount::
PyCode_NewWithPosOnlyArgs:int:kwonlyargcount::
PyCode_NewWithPosOnlyArgs:int:nlocals::
PyCode_NewWithPosOnlyArgs:int:stacksize::
PyCode_NewWithPosOnlyArgs:int:flags::
PyCode_NewWithPosOnlyArgs:PyObject*:code:0:
PyCode_NewWithPosOnlyArgs:PyObject*:consts:0:
PyCode_NewWithPosOnlyArgs:PyObject*:names:0:
PyCode_NewWithPosOnlyArgs:PyObject*:varnames:0:
PyCode_NewWithPosOnlyArgs:PyObject*:freevars:0:
PyCode_NewWithPosOnlyArgs:PyObject*:cellvars:0:
PyCode_NewWithPosOnlyArgs:PyObject*:filename:0:
PyCode_NewWithPosOnlyArgs:PyObject*:name:0:
PyCode_NewWithPosOnlyArgs:int:firstlineno::
PyCode_NewWithPosOnlyArgs:PyObject*:lnotab:0:
PyCode_New:PyCodeObject*::+1:
PyCode_New:int:argcount::
PyCode_New:int:posonlyargcount::
PyCode_New:int:kwonlyargcount::
PyCode_New:int:nlocals::
PyCode_New:int:stacksize::