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

Skip to content

Commit fd54a74

Browse files
Issue #23903: Added missed names to PC/python3.def.
2 parents b6dc37e + c70081c commit fd54a74

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
@@ -584,6 +584,8 @@ Documentation
584584
Build
585585
-----
586586

587+
- Issue #23903: Added missed names to PC/python3.def.
588+
587589
- Issue #28762: lockf() is available on Android API level 24, but the F_LOCK
588590
macro is not defined in android-ndk-r13.
589591

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

0 commit comments

Comments
 (0)