Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c70081c

Browse files
Issue #23903: Added missed names to PC/python3.def.
2 parents 26f15a4 + 6664e8c commit c70081c

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ Tests
8787
Build
8888
-----
8989

90+
- Issue #23903: Added missed names to PC/python3.def.
91+
9092
- Issue #28762: lockf() is available on Android API level 24, but the F_LOCK
9193
macro is not defined in android-ndk-r13.
9294

PC/python3.def

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ EXPORTS
6868
PyCodec_IncrementalEncoder=python36.PyCodec_IncrementalEncoder
6969
PyCodec_KnownEncoding=python36.PyCodec_KnownEncoding
7070
PyCodec_LookupError=python36.PyCodec_LookupError
71+
PyCodec_NameReplaceErrors=python36.PyCodec_NameReplaceErrors
7172
PyCodec_Register=python36.PyCodec_Register
7273
PyCodec_RegisterError=python36.PyCodec_RegisterError
7374
PyCodec_ReplaceErrors=python36.PyCodec_ReplaceErrors
@@ -122,6 +123,7 @@ EXPORTS
122123
PyErr_Fetch=python36.PyErr_Fetch
123124
PyErr_Format=python36.PyErr_Format
124125
PyErr_FormatV=python36.PyErr_FormatV
126+
PyErr_GetExcInfo=python36.PyErr_GetExcInfo
125127
PyErr_GivenExceptionMatches=python36.PyErr_GivenExceptionMatches
126128
PyErr_NewException=python36.PyErr_NewException
127129
PyErr_NewExceptionWithDoc=python36.PyErr_NewExceptionWithDoc
@@ -131,15 +133,21 @@ EXPORTS
131133
PyErr_Print=python36.PyErr_Print
132134
PyErr_PrintEx=python36.PyErr_PrintEx
133135
PyErr_ProgramText=python36.PyErr_ProgramText
136+
PyErr_ResourceWarning=python36.PyErr_ResourceWarning
134137
PyErr_Restore=python36.PyErr_Restore
138+
PyErr_SetExcInfo=python36.PyErr_SetExcInfo
135139
PyErr_SetFromErrno=python36.PyErr_SetFromErrno
136140
PyErr_SetFromErrnoWithFilename=python36.PyErr_SetFromErrnoWithFilename
137141
PyErr_SetFromErrnoWithFilenameObject=python36.PyErr_SetFromErrnoWithFilenameObject
142+
PyErr_SetFromErrnoWithFilenameObjects=python36.PyErr_SetFromErrnoWithFilenameObjects
143+
PyErr_SetImportError=python36.PyErr_SetImportError
144+
PyErr_SetImportErrorSubclass=python36.PyErr_SetImportErrorSubclass
138145
PyErr_SetInterrupt=python36.PyErr_SetInterrupt
139146
PyErr_SetNone=python36.PyErr_SetNone
140147
PyErr_SetObject=python36.PyErr_SetObject
141148
PyErr_SetString=python36.PyErr_SetString
142149
PyErr_SyntaxLocation=python36.PyErr_SyntaxLocation
150+
PyErr_SyntaxLocationEx=python36.PyErr_SyntaxLocationEx
143151
PyErr_WarnEx=python36.PyErr_WarnEx
144152
PyErr_WarnExplicit=python36.PyErr_WarnExplicit
145153
PyErr_WarnFormat=python36.PyErr_WarnFormat
@@ -171,12 +179,21 @@ EXPORTS
171179
PyExc_AssertionError=python36.PyExc_AssertionError DATA
172180
PyExc_AttributeError=python36.PyExc_AttributeError DATA
173181
PyExc_BaseException=python36.PyExc_BaseException DATA
182+
PyExc_BlockingIOError=python36.PyExc_BlockingIOError DATA
183+
PyExc_BrokenPipeError=python36.PyExc_BrokenPipeError DATA
174184
PyExc_BufferError=python36.PyExc_BufferError DATA
175185
PyExc_BytesWarning=python36.PyExc_BytesWarning DATA
186+
PyExc_ChildProcessError=python36.PyExc_ChildProcessError DATA
187+
PyExc_ConnectionAbortedError=python36.PyExc_ConnectionAbortedError DATA
188+
PyExc_ConnectionError=python36.PyExc_ConnectionError DATA
189+
PyExc_ConnectionRefusedError=python36.PyExc_ConnectionRefusedError DATA
190+
PyExc_ConnectionResetError=python36.PyExc_ConnectionResetError DATA
176191
PyExc_DeprecationWarning=python36.PyExc_DeprecationWarning DATA
177192
PyExc_EOFError=python36.PyExc_EOFError DATA
178193
PyExc_EnvironmentError=python36.PyExc_EnvironmentError DATA
179194
PyExc_Exception=python36.PyExc_Exception DATA
195+
PyExc_FileExistsError=python36.PyExc_FileExistsError DATA
196+
PyExc_FileNotFoundError=python36.PyExc_FileNotFoundError DATA
180197
PyExc_FloatingPointError=python36.PyExc_FloatingPointError DATA
181198
PyExc_FutureWarning=python36.PyExc_FutureWarning DATA
182199
PyExc_GeneratorExit=python36.PyExc_GeneratorExit DATA
@@ -185,25 +202,35 @@ EXPORTS
185202
PyExc_ImportWarning=python36.PyExc_ImportWarning DATA
186203
PyExc_IndentationError=python36.PyExc_IndentationError DATA
187204
PyExc_IndexError=python36.PyExc_IndexError DATA
205+
PyExc_InterruptedError=python36.PyExc_InterruptedError DATA
206+
PyExc_IsADirectoryError=python36.PyExc_IsADirectoryError DATA
188207
PyExc_KeyError=python36.PyExc_KeyError DATA
189208
PyExc_KeyboardInterrupt=python36.PyExc_KeyboardInterrupt DATA
190209
PyExc_LookupError=python36.PyExc_LookupError DATA
191210
PyExc_MemoryError=python36.PyExc_MemoryError DATA
211+
PyExc_ModuleNotFoundError=python36.PyExc_ModuleNotFoundError DATA
192212
PyExc_NameError=python36.PyExc_NameError DATA
213+
PyExc_NotADirectoryError=python36.PyExc_NotADirectoryError DATA
193214
PyExc_NotImplementedError=python36.PyExc_NotImplementedError DATA
194215
PyExc_OSError=python36.PyExc_OSError DATA
195216
PyExc_OverflowError=python36.PyExc_OverflowError DATA
196217
PyExc_PendingDeprecationWarning=python36.PyExc_PendingDeprecationWarning DATA
218+
PyExc_PermissionError=python36.PyExc_PermissionError DATA
219+
PyExc_ProcessLookupError=python36.PyExc_ProcessLookupError DATA
220+
PyExc_RecursionError=python36.PyExc_RecursionError DATA
197221
PyExc_RecursionErrorInst=python36.PyExc_RecursionErrorInst DATA
198222
PyExc_ReferenceError=python36.PyExc_ReferenceError DATA
223+
PyExc_ResourceWarning=python36.PyExc_ResourceWarning DATA
199224
PyExc_RuntimeError=python36.PyExc_RuntimeError DATA
200225
PyExc_RuntimeWarning=python36.PyExc_RuntimeWarning DATA
226+
PyExc_StopAsyncIteration=python36.PyExc_StopAsyncIteration DATA
201227
PyExc_StopIteration=python36.PyExc_StopIteration DATA
202228
PyExc_SyntaxError=python36.PyExc_SyntaxError DATA
203229
PyExc_SyntaxWarning=python36.PyExc_SyntaxWarning DATA
204230
PyExc_SystemError=python36.PyExc_SystemError DATA
205231
PyExc_SystemExit=python36.PyExc_SystemExit DATA
206232
PyExc_TabError=python36.PyExc_TabError DATA
233+
PyExc_TimeoutError=python36.PyExc_TimeoutError DATA
207234
PyExc_TypeError=python36.PyExc_TypeError DATA
208235
PyExc_UnboundLocalError=python36.PyExc_UnboundLocalError DATA
209236
PyExc_UnicodeDecodeError=python36.PyExc_UnicodeDecodeError DATA
@@ -241,19 +268,23 @@ EXPORTS
241268
PyGILState_Release=python36.PyGILState_Release
242269
PyGetSetDescr_Type=python36.PyGetSetDescr_Type DATA
243270
PyImport_AddModule=python36.PyImport_AddModule
271+
PyImport_AddModuleObject=python36.PyImport_AddModuleObject
244272
PyImport_AppendInittab=python36.PyImport_AppendInittab
245273
PyImport_Cleanup=python36.PyImport_Cleanup
246274
PyImport_ExecCodeModule=python36.PyImport_ExecCodeModule
247275
PyImport_ExecCodeModuleEx=python36.PyImport_ExecCodeModuleEx
276+
PyImport_ExecCodeModuleObject=python36.PyImport_ExecCodeModuleObject
248277
PyImport_ExecCodeModuleWithPathnames=python36.PyImport_ExecCodeModuleWithPathnames
249278
PyImport_GetImporter=python36.PyImport_GetImporter
250279
PyImport_GetMagicNumber=python36.PyImport_GetMagicNumber
251280
PyImport_GetMagicTag=python36.PyImport_GetMagicTag
252281
PyImport_GetModuleDict=python36.PyImport_GetModuleDict
253282
PyImport_Import=python36.PyImport_Import
254283
PyImport_ImportFrozenModule=python36.PyImport_ImportFrozenModule
284+
PyImport_ImportFrozenModuleObject=python36.PyImport_ImportFrozenModuleObject
255285
PyImport_ImportModule=python36.PyImport_ImportModule
256286
PyImport_ImportModuleLevel=python36.PyImport_ImportModuleLevel
287+
PyImport_ImportModuleLevelObject=python36.PyImport_ImportModuleLevelObject
257288
PyImport_ImportModuleNoBlock=python36.PyImport_ImportModuleNoBlock
258289
PyImport_ReloadModule=python36.PyImport_ReloadModule
259290
PyInterpreterState_Clear=python36.PyInterpreterState_Clear
@@ -309,27 +340,35 @@ EXPORTS
309340
PyMapping_SetItemString=python36.PyMapping_SetItemString
310341
PyMapping_Size=python36.PyMapping_Size
311342
PyMapping_Values=python36.PyMapping_Values
343+
PyMem_Calloc=python36.PyMem_Calloc
312344
PyMem_Free=python36.PyMem_Free
313345
PyMem_Malloc=python36.PyMem_Malloc
314346
PyMem_Realloc=python36.PyMem_Realloc
315347
PyMemberDescr_Type=python36.PyMemberDescr_Type DATA
348+
PyMemoryView_FromMemory=python36.PyMemoryView_FromMemory
316349
PyMemoryView_FromObject=python36.PyMemoryView_FromObject
317350
PyMemoryView_GetContiguous=python36.PyMemoryView_GetContiguous
318351
PyMemoryView_Type=python36.PyMemoryView_Type DATA
319352
PyMethodDescr_Type=python36.PyMethodDescr_Type DATA
320353
PyModuleDef_Init=python36.PyModuleDef_Init
321354
PyModuleDef_Type=python36.PyModuleDef_Type DATA
355+
PyModule_AddFunctions=python36.PyModule_AddFunctions
322356
PyModule_AddIntConstant=python36.PyModule_AddIntConstant
323357
PyModule_AddObject=python36.PyModule_AddObject
324358
PyModule_AddStringConstant=python36.PyModule_AddStringConstant
325359
PyModule_Create2=python36.PyModule_Create2
360+
PyModule_ExecDef=python36.PyModule_ExecDef
361+
PyModule_FromDefAndSpec2=python36.PyModule_FromDefAndSpec2
326362
PyModule_GetDef=python36.PyModule_GetDef
327363
PyModule_GetDict=python36.PyModule_GetDict
328364
PyModule_GetFilename=python36.PyModule_GetFilename
329365
PyModule_GetFilenameObject=python36.PyModule_GetFilenameObject
330366
PyModule_GetName=python36.PyModule_GetName
367+
PyModule_GetNameObject=python36.PyModule_GetNameObject
331368
PyModule_GetState=python36.PyModule_GetState
332369
PyModule_New=python36.PyModule_New
370+
PyModule_NewObject=python36.PyModule_NewObject
371+
PyModule_SetDocString=python36.PyModule_SetDocString
333372
PyModule_Type=python36.PyModule_Type DATA
334373
PyNullImporter_Type=python36.PyNullImporter_Type DATA
335374
PyNumber_Absolute=python36.PyNumber_Absolute
@@ -344,6 +383,7 @@ EXPORTS
344383
PyNumber_InPlaceAnd=python36.PyNumber_InPlaceAnd
345384
PyNumber_InPlaceFloorDivide=python36.PyNumber_InPlaceFloorDivide
346385
PyNumber_InPlaceLshift=python36.PyNumber_InPlaceLshift
386+
PyNumber_InPlaceMatrixMultiply=python36.PyNumber_InPlaceMatrixMultiply
347387
PyNumber_InPlaceMultiply=python36.PyNumber_InPlaceMultiply
348388
PyNumber_InPlaceOr=python36.PyNumber_InPlaceOr
349389
PyNumber_InPlacePower=python36.PyNumber_InPlacePower
@@ -356,6 +396,7 @@ EXPORTS
356396
PyNumber_Invert=python36.PyNumber_Invert
357397
PyNumber_Long=python36.PyNumber_Long
358398
PyNumber_Lshift=python36.PyNumber_Lshift
399+
PyNumber_MatrixMultiply=python36.PyNumber_MatrixMultiply
359400
PyNumber_Multiply=python36.PyNumber_Multiply
360401
PyNumber_Negative=python36.PyNumber_Negative
361402
PyNumber_Or=python36.PyNumber_Or
@@ -376,6 +417,7 @@ EXPORTS
376417
PyODict_SetItem=python36.PyODict_SetItem
377418
PyODict_Type=python36.PyODict_Type DATA
378419
PyOS_AfterFork=python36.PyOS_AfterFork
420+
PyOS_FSPath=python36.PyOS_FSPath
379421
PyOS_InitInterrupts=python36.PyOS_InitInterrupts
380422
PyOS_InputHook=python36.PyOS_InputHook DATA
381423
PyOS_InterruptOccurred=python36.PyOS_InterruptOccurred
@@ -402,6 +444,7 @@ EXPORTS
402444
PyObject_CallMethod=python36.PyObject_CallMethod
403445
PyObject_CallMethodObjArgs=python36.PyObject_CallMethodObjArgs
404446
PyObject_CallObject=python36.PyObject_CallObject
447+
PyObject_Calloc=python36.PyObject_Calloc
405448
PyObject_CheckReadBuffer=python36.PyObject_CheckReadBuffer
406449
PyObject_ClearWeakRefs=python36.PyObject_ClearWeakRefs
407450
PyObject_DelItem=python36.PyObject_DelItem
@@ -414,6 +457,7 @@ EXPORTS
414457
PyObject_GC_UnTrack=python36.PyObject_GC_UnTrack
415458
PyObject_GenericGetAttr=python36.PyObject_GenericGetAttr
416459
PyObject_GenericSetAttr=python36.PyObject_GenericSetAttr
460+
PyObject_GenericSetDict=python36.PyObject_GenericSetDict
417461
PyObject_GetAttr=python36.PyObject_GetAttr
418462
PyObject_GetAttrString=python36.PyObject_GetAttrString
419463
PyObject_GetItem=python36.PyObject_GetItem
@@ -443,6 +487,7 @@ EXPORTS
443487
PyObject_Type=python36.PyObject_Type
444488
PyParser_SimpleParseFileFlags=python36.PyParser_SimpleParseFileFlags
445489
PyParser_SimpleParseStringFlags=python36.PyParser_SimpleParseStringFlags
490+
PyParser_SimpleParseStringFlagsFilename=python36.PyParser_SimpleParseStringFlagsFilename
446491
PyProperty_Type=python36.PyProperty_Type DATA
447492
PyRangeIter_Type=python36.PyRangeIter_Type DATA
448493
PyRange_Type=python36.PyRange_Type DATA
@@ -493,9 +538,11 @@ EXPORTS
493538
PySuper_Type=python36.PySuper_Type DATA
494539
PySys_AddWarnOption=python36.PySys_AddWarnOption
495540
PySys_AddWarnOptionUnicode=python36.PySys_AddWarnOptionUnicode
541+
PySys_AddXOption=python36.PySys_AddXOption
496542
PySys_FormatStderr=python36.PySys_FormatStderr
497543
PySys_FormatStdout=python36.PySys_FormatStdout
498544
PySys_GetObject=python36.PySys_GetObject
545+
PySys_GetXOptions=python36.PySys_GetXOptions
499546
PySys_HasWarnOptions=python36.PySys_HasWarnOptions
500547
PySys_ResetWarnOptions=python36.PySys_ResetWarnOptions
501548
PySys_SetArgv=python36.PySys_SetArgv
@@ -571,11 +618,14 @@ EXPORTS
571618
PyUnicode_AsEncodedUnicode=python36.PyUnicode_AsEncodedUnicode
572619
PyUnicode_AsLatin1String=python36.PyUnicode_AsLatin1String
573620
PyUnicode_AsRawUnicodeEscapeString=python36.PyUnicode_AsRawUnicodeEscapeString
621+
PyUnicode_AsUCS4=python36.PyUnicode_AsUCS4
622+
PyUnicode_AsUCS4Copy=python36.PyUnicode_AsUCS4Copy
574623
PyUnicode_AsUTF16String=python36.PyUnicode_AsUTF16String
575624
PyUnicode_AsUTF32String=python36.PyUnicode_AsUTF32String
576625
PyUnicode_AsUTF8String=python36.PyUnicode_AsUTF8String
577626
PyUnicode_AsUnicodeEscapeString=python36.PyUnicode_AsUnicodeEscapeString
578627
PyUnicode_AsWideChar=python36.PyUnicode_AsWideChar
628+
PyUnicode_AsWideCharString=python36.PyUnicode_AsWideCharString
579629
PyUnicode_BuildEncodingMap=python36.PyUnicode_BuildEncodingMap
580630
PyUnicode_ClearFreeList=python36.PyUnicode_ClearFreeList
581631
PyUnicode_Compare=python36.PyUnicode_Compare
@@ -589,6 +639,8 @@ EXPORTS
589639
PyUnicode_DecodeFSDefault=python36.PyUnicode_DecodeFSDefault
590640
PyUnicode_DecodeFSDefaultAndSize=python36.PyUnicode_DecodeFSDefaultAndSize
591641
PyUnicode_DecodeLatin1=python36.PyUnicode_DecodeLatin1
642+
PyUnicode_DecodeLocale=python36.PyUnicode_DecodeLocale
643+
PyUnicode_DecodeLocaleAndSize=python36.PyUnicode_DecodeLocaleAndSize
592644
PyUnicode_DecodeRawUnicodeEscape=python36.PyUnicode_DecodeRawUnicodeEscape
593645
PyUnicode_DecodeUTF16=python36.PyUnicode_DecodeUTF16
594646
PyUnicode_DecodeUTF16Stateful=python36.PyUnicode_DecodeUTF16Stateful
@@ -600,9 +652,11 @@ EXPORTS
600652
PyUnicode_DecodeUTF8Stateful=python36.PyUnicode_DecodeUTF8Stateful
601653
PyUnicode_DecodeUnicodeEscape=python36.PyUnicode_DecodeUnicodeEscape
602654
PyUnicode_EncodeFSDefault=python36.PyUnicode_EncodeFSDefault
655+
PyUnicode_EncodeLocale=python36.PyUnicode_EncodeLocale
603656
PyUnicode_FSConverter=python36.PyUnicode_FSConverter
604657
PyUnicode_FSDecoder=python36.PyUnicode_FSDecoder
605658
PyUnicode_Find=python36.PyUnicode_Find
659+
PyUnicode_FindChar=python36.PyUnicode_FindChar
606660
PyUnicode_Format=python36.PyUnicode_Format
607661
PyUnicode_FromEncodedObject=python36.PyUnicode_FromEncodedObject
608662
PyUnicode_FromFormat=python36.PyUnicode_FromFormat
@@ -613,6 +667,7 @@ EXPORTS
613667
PyUnicode_FromStringAndSize=python36.PyUnicode_FromStringAndSize
614668
PyUnicode_FromWideChar=python36.PyUnicode_FromWideChar
615669
PyUnicode_GetDefaultEncoding=python36.PyUnicode_GetDefaultEncoding
670+
PyUnicode_GetLength=python36.PyUnicode_GetLength
616671
PyUnicode_GetSize=python36.PyUnicode_GetSize
617672
PyUnicode_InternFromString=python36.PyUnicode_InternFromString
618673
PyUnicode_InternImmortal=python36.PyUnicode_InternImmortal
@@ -622,14 +677,17 @@ EXPORTS
622677
PyUnicode_Partition=python36.PyUnicode_Partition
623678
PyUnicode_RPartition=python36.PyUnicode_RPartition
624679
PyUnicode_RSplit=python36.PyUnicode_RSplit
680+
PyUnicode_ReadChar=python36.PyUnicode_ReadChar
625681
PyUnicode_Replace=python36.PyUnicode_Replace
626682
PyUnicode_Resize=python36.PyUnicode_Resize
627683
PyUnicode_RichCompare=python36.PyUnicode_RichCompare
628684
PyUnicode_Split=python36.PyUnicode_Split
629685
PyUnicode_Splitlines=python36.PyUnicode_Splitlines
686+
PyUnicode_Substring=python36.PyUnicode_Substring
630687
PyUnicode_Tailmatch=python36.PyUnicode_Tailmatch
631688
PyUnicode_Translate=python36.PyUnicode_Translate
632689
PyUnicode_Type=python36.PyUnicode_Type DATA
690+
PyUnicode_WriteChar=python36.PyUnicode_WriteChar
633691
PyWeakref_GetObject=python36.PyWeakref_GetObject
634692
PyWeakref_NewProxy=python36.PyWeakref_NewProxy
635693
PyWeakref_NewRef=python36.PyWeakref_NewRef
@@ -641,9 +699,12 @@ EXPORTS
641699
Py_BuildValue=python36.Py_BuildValue
642700
Py_CompileString=python36.Py_CompileString
643701
Py_DecRef=python36.Py_DecRef
702+
Py_DecodeLocale=python36.Py_DecodeLocale
703+
Py_EncodeLocale=python36.Py_EncodeLocale
644704
Py_EndInterpreter=python36.Py_EndInterpreter
645705
Py_Exit=python36.Py_Exit
646706
Py_FatalError=python36.Py_FatalError
707+
Py_FileSystemDefaultEncodeErrors=python36.Py_FileSystemDefaultEncodeErrors DATA
647708
Py_FileSystemDefaultEncoding=python36.Py_FileSystemDefaultEncoding DATA
648709
Py_Finalize=python36.Py_Finalize
649710
Py_FinalizeEx=python36.Py_FinalizeEx
@@ -669,6 +730,7 @@ EXPORTS
669730
Py_NewInterpreter=python36.Py_NewInterpreter
670731
Py_ReprEnter=python36.Py_ReprEnter
671732
Py_ReprLeave=python36.Py_ReprLeave
733+
Py_SetPath=python36.Py_SetPath
672734
Py_SetProgramName=python36.Py_SetProgramName
673735
Py_SetPythonHome=python36.Py_SetPythonHome
674736
Py_SetRecursionLimit=python36.Py_SetRecursionLimit
@@ -695,6 +757,8 @@ EXPORTS
695757
_PyTrash_delete_nesting=python36._PyTrash_delete_nesting DATA
696758
_PyTrash_deposit_object=python36._PyTrash_deposit_object
697759
_PyTrash_destroy_chain=python36._PyTrash_destroy_chain
760+
_PyTrash_thread_deposit_object=python36._PyTrash_thread_deposit_object
761+
_PyTrash_thread_destroy_chain=python36._PyTrash_thread_destroy_chain
698762
_PyWeakref_CallableProxyType=python36._PyWeakref_CallableProxyType DATA
699763
_PyWeakref_ProxyType=python36._PyWeakref_ProxyType DATA
700764
_PyWeakref_RefType=python36._PyWeakref_RefType DATA

0 commit comments

Comments
 (0)