Create and populate OS/2 EMX port build directory:
PC/os2emx/
Makefile
README.os2emx
config.c
dlfcn.c // libdl emulation code for loadable extensions
dlfcn.h
dllentry.c // DLL initialisation routine for Python DLL
getpath.c
pyconfig.h
python23.def // Python DLL symbol export definitions
pythonpm.c // console-less PM interpreter wrapper
diff --git a/PC/os2emx/python23.def b/PC/os2emx/python23.def
new file mode 100644
index 0000000..00fe23a
--- /dev/null
+++ b/PC/os2emx/python23.def
@@ -0,0 +1,931 @@
+LIBRARY python23 INITINSTANCE TERMINSTANCE
+DESCRIPTION "Python 2.3 Core DLL"
+PROTMODE
+DATA MULTIPLE NONSHARED
+EXPORTS
+
+; From python23_s.lib(config)
+ "_PyImport_Inittab"
+
+; From python23_s.lib(dlfcn)
+ "dlopen"
+ "dlsym"
+ "dlclose"
+ "dlerror"
+
+; From python23_s.lib(getpathp)
+ "Py_GetPath"
+ "Py_GetPrefix"
+ "Py_GetExecPrefix"
+ "Py_GetProgramFullPath"
+
+; From python23_s.lib(getbuildinfo)
+ "Py_GetBuildInfo"
+
+; From python23_s.lib(main)
+ "Py_Main"
+ "Py_GetArgcArgv"
+
+; From python23_s.lib(acceler)
+ "PyGrammar_AddAccelerators"
+ "PyGrammar_RemoveAccelerators"
+
+; From python23_s.lib(grammar1)
+ "PyGrammar_FindDFA"
+ "PyGrammar_LabelRepr"
+
+; From python23_s.lib(listnode)
+ "PyNode_ListTree"
+
+; From python23_s.lib(node)
+ "PyNode_New"
+ "PyNode_AddChild"
+ "PyNode_Free"
+
+; From python23_s.lib(parser)
+ "PyParser_New"
+ "PyParser_Delete"
+ "PyParser_AddToken"
+
+; From python23_s.lib(parsetok)
+ "Py_TabcheckFlag"
+ "PyParser_ParseString"
+ "PyParser_ParseStringFlags"
+ "PyParser_ParseFile"
+ "PyParser_ParseFileFlags"
+
+; From python23_s.lib(tokenizer)
+ "PyTokenizer_FromString"
+ "PyTokenizer_FromFile"
+ "PyTokenizer_Free"
+ "PyToken_OneChar"
+ "PyToken_TwoChars"
+ "PyToken_ThreeChars"
+ "PyTokenizer_Get"
+ "_PyParser_TokenNames"
+
+; From python23_s.lib(bitset)
+ "_Py_newbitset"
+ "_Py_delbitset"
+ "_Py_addbit"
+ "_Py_samebitset"
+ "_Py_mergebitset"
+
+; From python23_s.lib(metagrammar)
+ "_Py_meta_grammar"
+
+; From python23_s.lib(myreadline)
+ "PyOS_ReadlineFunctionPointer"
+ "PyOS_StdioReadline"
+ "PyOS_Readline"
+ "PyOS_InputHook"
+
+; From python23_s.lib(abstract)
+ "PyObject_Cmp"
+ "PyObject_Type"
+ "PyObject_Size"
+ "PyMapping_Size"
+ "PyObject_Length"
+ "PyObject_GetItem"
+ "PySequence_GetItem"
+ "PyObject_SetItem"
+ "PySequence_SetItem"
+ "PyObject_DelItem"
+ "PySequence_DelItem"
+ "PyObject_DelItemString"
+ "PyObject_AsCharBuffer"
+ "PyObject_CheckReadBuffer"
+ "PyObject_AsReadBuffer"
+ "PyObject_AsWriteBuffer"
+ "PyNumber_Check"
+ "PyNumber_Or"
+ "PyNumber_Xor"
+ "PyNumber_And"
+ "PyNumber_Lshift"
+ "PyNumber_Rshift"
+ "PyNumber_Subtract"
+ "PyNumber_Multiply"
+ "PyNumber_Divide"
+ "PyNumber_Divmod"
+ "PyNumber_Add"
+ "PyNumber_FloorDivide"
+ "PyNumber_TrueDivide"
+ "PyNumber_Remainder"
+ "PyNumber_Power"
+ "PyNumber_InPlaceOr"
+ "PyNumber_InPlaceXor"
+ "PyNumber_InPlaceAnd"
+ "PyNumber_InPlaceLshift"
+ "PyNumber_InPlaceRshift"
+ "PyNumber_InPlaceSubtract"
+ "PyNumber_InPlaceDivide"
+ "PyNumber_InPlaceFloorDivide"
+ "PyNumber_InPlaceTrueDivide"
+ "PyNumber_InPlaceAdd"
+ "PyNumber_InPlaceMultiply"
+ "PyNumber_InPlaceRemainder"
+ "PyNumber_InPlacePower"
+ "PyNumber_Negative"
+ "PyNumber_Positive"
+ "PyNumber_Invert"
+ "PyNumber_Absolute"
+ "PyNumber_Int"
+ "PyNumber_Long"
+ "PyNumber_Float"
+ "PySequence_Check"
+ "PySequence_Size"
+ "PySequence_Length"
+ "PySequence_Concat"
+ "PySequence_Repeat"
+ "PySequence_InPlaceConcat"
+ "PySequence_InPlaceRepeat"
+ "PySequence_GetSlice"
+ "PySequence_SetSlice"
+ "PySequence_DelSlice"
+ "PySequence_Tuple"
+ "PyObject_GetIter"
+ "PyIter_Next"
+ "PySequence_List"
+ "PySequence_Fast"
+ "_PySequence_IterSearch"
+ "PySequence_Count"
+ "PySequence_Contains"
+ "PySequence_In"
+ "PySequence_Index"
+ "PyMapping_Check"
+ "PyMapping_Length"
+ "PyMapping_GetItemString"
+ "PyMapping_SetItemString"
+ "PyMapping_HasKeyString"
+ "PyMapping_HasKey"
+ "PyObject_CallObject"
+ "PyObject_Call"
+ "PyObject_CallFunction"
+ "PyObject_CallMethod"
+ "PyObject_CallMethodObjArgs"
+ "PyObject_CallFunctionObjArgs"
+ "PyObject_IsInstance"
+ "PyObject_IsSubclass"
+
+; From python23_s.lib(bufferobject)
+ "PyBuffer_FromObject"
+ "PyBuffer_FromReadWriteObject"
+ "PyBuffer_FromMemory"
+ "PyBuffer_FromReadWriteMemory"
+ "PyBuffer_New"
+ "PyBuffer_Type"
+
+; From python23_s.lib(cellobject)
+ "PyCell_New"
+ "PyCell_Get"
+ "PyCell_Set"
+ "PyCell_Type"
+
+; From python23_s.lib(classobject)
+ "PyClass_New"
+ "PyMethod_Function"
+ "PyMethod_Self"
+ "PyMethod_Class"
+ "PyClass_IsSubclass"
+ "PyInstance_New"
+ "PyInstance_NewRaw"
+ "PyMethod_New"
+ "PyMethod_Fini"
+ "PyClass_Type"
+ "PyMethod_Type"
+ "PyInstance_Type"
+
+; From python23_s.lib(cobject)
+ "PyCObject_FromVoidPtr"
+ "PyCObject_FromVoidPtrAndDesc"
+ "PyCObject_AsVoidPtr"
+ "PyCObject_GetDesc"
+ "PyCObject_Import"
+ "PyCObject_Type"
+
+; From python23_s.lib(complexobject)
+ "_Py_c_sum"
+ "_Py_c_diff"
+ "_Py_c_neg"
+ "_Py_c_prod"
+ "_Py_c_quot"
+ "_Py_c_pow"
+ "PyComplex_FromCComplex"
+ "PyComplex_FromDoubles"
+ "PyComplex_RealAsDouble"
+ "PyComplex_ImagAsDouble"
+ "PyComplex_AsCComplex"
+ "PyComplex_Type"
+
+; From python23_s.lib(descrobject)
+ "PyWrapper_New"
+ "PyDescr_NewMethod"
+ "PyDescr_NewMember"
+ "PyDescr_NewGetSet"
+ "PyDescr_NewWrapper"
+ "PyDescr_IsData"
+ "PyDictProxy_New"
+ "PyWrapperDescr_Type"
+ "PyProperty_Type"
+
+; From python23_s.lib(dictobject)
+ "PyDict_New"
+ "PyDict_GetItem"
+ "PyDict_SetItem"
+ "PyDict_DelItem"
+ "PyDict_Clear"
+ "PyDict_Next"
+ "PyDict_Update"
+ "PyDict_MergeFromSeq2"
+ "PyDict_Merge"
+ "PyDict_Copy"
+ "PyDict_Size"
+ "PyDict_Keys"
+ "PyDict_Values"
+ "PyDict_Items"
+ "PyDict_GetItemString"
+ "PyDict_SetItemString"
+ "PyDict_DelItemString"
+ "PyDict_Type"
+ "PyDictIter_Type"
+
+; From python23_s.lib(fileobject)
+ "PyFile_AsFile"
+ "PyFile_Name"
+ "PyFile_FromFile"
+ "PyFile_FromString"
+ "PyFile_SetBufSize"
+ "PyFile_GetLine"
+ "PyFile_SoftSpace"
+ "PyFile_WriteObject"
+ "PyFile_WriteString"
+ "PyObject_AsFileDescriptor"
+ "PyFile_Type"
+
+; From python23_s.lib(floatobject)
+ "PyFloat_FromDouble"
+ "PyFloat_FromString"
+ "PyFloat_AsDouble"
+ "PyFloat_AsStringEx"
+ "PyFloat_AsString"
+ "PyFloat_AsReprString"
+ "PyFloat_Fini"
+ "PyFloat_Type"
+
+; From python23_s.lib(frameobject)
+ "PyFrame_FastToLocals"
+ "PyFrame_New"
+ "PyFrame_BlockSetup"
+ "PyFrame_BlockPop"
+ "PyFrame_LocalsToFast"
+ "PyFrame_Fini"
+ "PyFrame_Type"
+
+; From python23_s.lib(funcobject)
+ "PyFunction_New"
+ "PyFunction_GetCode"
+ "PyFunction_GetGlobals"
+ "PyFunction_GetDefaults"
+ "PyFunction_SetDefaults"
+ "PyFunction_GetClosure"
+ "PyFunction_SetClosure"
+ "PyClassMethod_New"
+ "PyStaticMethod_New"
+ "PyFunction_Type"
+ "PyClassMethod_Type"
+ "PyStaticMethod_Type"
+
+; From python23_s.lib(intobject)
+ "PyInt_GetMax"
+ "PyInt_FromLong"
+ "PyInt_AsLong"
+ "PyInt_FromString"
+ "PyInt_FromUnicode"
+ "PyInt_Fini"
+ "_Py_ZeroStruct"
+ "PyInt_Type"
+ "_Py_TrueStruct"
+
+; From python23_s.lib(iterobject)
+ "PySeqIter_New"
+ "PyCallIter_New"
+ "PySeqIter_Type"
+ "PyCallIter_Type"
+
+; From python23_s.lib(listobject)
+ "PyList_New"
+ "PyList_Size"
+ "PyList_GetItem"
+ "PyList_SetItem"
+ "PyList_Insert"
+ "PyList_Append"
+ "PyList_GetSlice"
+ "PyList_SetSlice"
+ "PyList_Sort"
+ "PyList_Reverse"
+ "PyList_AsTuple"
+ "PyList_Type"
+
+; From python23_s.lib(longobject)
+ "_PyLong_New"
+ "_PyLong_Copy"
+ "PyLong_FromLong"
+ "PyLong_FromUnsignedLong"
+ "PyLong_FromDouble"
+ "PyLong_AsLong"
+ "PyLong_AsUnsignedLong"
+ "_PyLong_FromByteArray"
+ "_PyLong_AsByteArray"
+ "_PyLong_AsScaledDouble"
+ "PyLong_AsDouble"
+ "PyLong_FromVoidPtr"
+ "PyLong_AsVoidPtr"
+ "PyLong_FromLongLong"
+ "PyLong_FromUnsignedLongLong"
+ "PyLong_AsLongLong"
+ "PyLong_AsUnsignedLongLong"
+ "PyLong_FromString"
+ "PyLong_FromUnicode"
+ "PyLong_Type"
+
+; From python23_s.lib(methodobject)
+ "PyCFunction_New"
+ "PyCFunction_GetFunction"
+ "PyCFunction_GetSelf"
+ "PyCFunction_GetFlags"
+ "PyCFunction_Call"
+ "Py_FindMethodInChain"
+ "Py_FindMethod"
+ "PyCFunction_Fini"
+ "PyCFunction_Type"
+
+; From python23_s.lib(moduleobject)
+ "PyModule_New"
+ "PyModule_GetDict"
+ "PyModule_GetName"
+ "PyModule_GetFilename"
+ "_PyModule_Clear"
+ "PyModule_Type"
+
+; From python23_s.lib(object)
+ "Py_DivisionWarningFlag"
+ "PyObject_Init"
+ "PyObject_InitVar"
+ "_PyObject_New"
+ "_PyObject_NewVar"
+ "_PyObject_Del"
+ "PyObject_Print"
+ "PyObject_Str"
+ "PyObject_Repr"
+ "_PyObject_Dump"
+ "PyObject_Unicode"
+ "PyObject_GetAttr"
+ "PyObject_IsTrue"
+ "PyNumber_CoerceEx"
+ "PyObject_Compare"
+ "PyObject_RichCompare"
+ "PyObject_RichCompareBool"
+ "_Py_HashDouble"
+ "PyObject_Hash"
+ "_Py_HashPointer"
+ "PyObject_GetAttrString"
+ "PyObject_HasAttrString"
+ "PyObject_SetAttrString"
+ "PyObject_SetAttr"
+ "PyObject_HasAttr"
+ "_PyObject_GetDictPtr"
+ "PyObject_GenericGetAttr"
+ "PyObject_GenericSetAttr"
+ "PyObject_Not"
+ "PyNumber_Coerce"
+ "PyCallable_Check"
+ "PyObject_Dir"
+ "_Py_ReadyTypes"
+ "PyMem_Malloc"
+ "PyMem_Realloc"
+ "PyMem_Free"
+ "PyObject_Malloc"
+ "PyObject_Realloc"
+ "PyObject_Free"
+ "Py_ReprEnter"
+ "Py_ReprLeave"
+ "_PyTrash_deposit_object"
+ "_PyTrash_destroy_chain"
+ "_Py_NotImplementedStruct"
+ "_Py_NoneStruct"
+ "_Py_cobject_hack"
+ "_Py_abstract_hack"
+ "_PyTrash_delete_nesting"
+ "_PyTrash_delete_later"
+
+; From python23_s.lib(rangeobject)
+ "PyRange_New"
+ "PyRange_Type"
+
+; From python23_s.lib(sliceobject)
+ "PySlice_New"
+ "PySlice_GetIndices"
+ "_Py_EllipsisObject"
+ "PySlice_Type"
+
+; From python23_s.lib(stringobject)
+ "PyString_FromStringAndSize"
+ "PyString_InternInPlace"
+ "PyString_FromString"
+ "PyString_FromFormatV"
+ "PyString_AsString"
+ "_PyString_Resize"
+ "PyString_FromFormat"
+ "PyString_Decode"
+ "PyString_AsDecodedString"
+ "PyString_AsDecodedObject"
+ "PyString_Encode"
+ "PyString_AsEncodedString"
+ "PyString_AsEncodedObject"
+ "PyString_AsStringAndSize"
+ "PyString_Size"
+ "_PyString_Eq"
+ "_PyString_Join"
+ "PyString_Concat"
+ "PyString_ConcatAndDel"
+ "_PyString_FormatLong"
+ "PyString_Format"
+ "PyString_InternFromString"
+ "PyString_Fini"
+ "_Py_ReleaseInternedStrings"
+ "PyString_Type"
+
+; From python23_s.lib(structseq)
+ "PyStructSequence_New"
+ "PyStructSequence_InitType"
+
+; From python23_s.lib(tupleobject)
+ "PyTuple_New"
+ "PyTuple_Size"
+ "PyTuple_GetItem"
+ "PyTuple_SetItem"
+ "PyTuple_GetSlice"
+ "_PyTuple_Resize"
+ "PyTuple_Fini"
+ "PyTuple_Type"
+
+; From python23_s.lib(typeobject)
+ "PyType_IsSubtype"
+ "PyType_GenericAlloc"
+ "PyType_GenericNew"
+ "_PyType_Lookup"
+ "PyType_Ready"
+ "_PyObject_SlotCompare"
+ "PyType_Type"
+ "PyBaseObject_Type"
+ "PySuper_Type"
+
+; From python23_s.lib(unicodeobject)
+ "PyUnicodeUCS2_GetMax"
+ "PyUnicodeUCS2_Resize"
+ "PyUnicodeUCS2_FromUnicode"
+ "PyUnicodeUCS2_FromObject"
+ "PyUnicodeUCS2_FromEncodedObject"
+ "PyUnicodeUCS2_Decode"
+ "PyUnicodeUCS2_GetDefaultEncoding"
+ "PyUnicodeUCS2_DecodeUTF8"
+ "PyUnicodeUCS2_DecodeLatin1"
+ "PyUnicodeUCS2_DecodeASCII"
+ "PyUnicodeUCS2_Encode"
+ "PyUnicodeUCS2_AsEncodedString"
+ "PyUnicodeUCS2_AsUTF8String"
+ "PyUnicodeUCS2_AsLatin1String"
+ "PyUnicodeUCS2_AsASCIIString"
+ "_PyUnicodeUCS2_AsDefaultEncodedString"
+ "PyUnicodeUCS2_AsUnicode"
+ "PyUnicodeUCS2_GetSize"
+ "PyUnicodeUCS2_SetDefaultEncoding"
+ "PyUnicode_DecodeUTF7"
+ "PyUnicode_EncodeUTF7"
+ "PyUnicodeUCS2_EncodeUTF8"
+ "PyUnicodeUCS2_DecodeUTF16"
+ "PyUnicodeUCS2_EncodeUTF16"
+ "PyUnicodeUCS2_AsUTF16String"
+ "PyUnicodeUCS2_DecodeUnicodeEscape"
+ "PyUnicodeUCS2_EncodeUnicodeEscape"
+ "PyUnicodeUCS2_AsUnicodeEscapeString"
+ "PyUnicodeUCS2_DecodeRawUnicodeEscape"
+ "PyUnicodeUCS2_EncodeRawUnicodeEscape"
+ "PyUnicodeUCS2_AsRawUnicodeEscapeString"
+ "PyUnicodeUCS2_EncodeLatin1"
+ "PyUnicodeUCS2_EncodeASCII"
+ "PyUnicodeUCS2_DecodeCharmap"
+ "PyUnicodeUCS2_EncodeCharmap"
+ "PyUnicodeUCS2_AsCharmapString"
+ "PyUnicodeUCS2_TranslateCharmap"
+ "PyUnicodeUCS2_Translate"
+ "PyUnicodeUCS2_EncodeDecimal"
+ "PyUnicodeUCS2_Count"
+ "PyUnicodeUCS2_Find"
+ "PyUnicodeUCS2_Tailmatch"
+ "PyUnicodeUCS2_Join"
+ "PyUnicodeUCS2_Splitlines"
+ "PyUnicodeUCS2_Compare"
+ "PyUnicodeUCS2_Contains"
+ "PyUnicodeUCS2_Concat"
+ "PyUnicodeUCS2_Replace"
+ "PyUnicodeUCS2_Split"
+ "PyUnicodeUCS2_Format"
+ "_PyUnicodeUCS2_Init"
+ "_PyUnicodeUCS2_Fini"
+ "PyUnicode_Type"
+
+; From python23_s.lib(unicodectype)
+ "_PyUnicode_TypeRecords"
+ "_PyUnicodeUCS2_IsLinebreak"
+ "_PyUnicodeUCS2_ToTitlecase"
+ "_PyUnicodeUCS2_IsTitlecase"
+ "_PyUnicodeUCS2_ToDecimalDigit"
+ "_PyUnicodeUCS2_IsDecimalDigit"
+ "_PyUnicodeUCS2_ToDigit"
+ "_PyUnicodeUCS2_IsDigit"
+ "_PyUnicodeUCS2_ToNumeric"
+ "_PyUnicodeUCS2_IsNumeric"
+ "_PyUnicodeUCS2_IsWhitespace"
+ "_PyUnicodeUCS2_IsLowercase"
+ "_PyUnicodeUCS2_IsUppercase"
+ "_PyUnicodeUCS2_ToUppercase"
+ "_PyUnicodeUCS2_ToLowercase"
+ "_PyUnicodeUCS2_IsAlpha"
+
+; From python23_s.lib(weakrefobject)
+ "_PyWeakref_GetWeakrefCount"
+ "PyWeakref_NewRef"
+ "PyWeakref_NewProxy"
+ "PyWeakref_GetObject"
+ "PyObject_ClearWeakRefs"
+ "_PyWeakref_RefType"
+ "_PyWeakref_ProxyType"
+ "_PyWeakref_CallableProxyType"
+
+; From python23_s.lib(bltinmodule)
+ "_PyBuiltin_Init"
+ "Py_FileSystemDefaultEncoding"
+
+; From python23_s.lib(exceptions)
+ "PyExc_TypeError"
+ "PyExc_Exception"
+ "PyExc_StopIteration"
+ "PyExc_StandardError"
+ "PyExc_SystemExit"
+ "PyExc_KeyboardInterrupt"
+ "PyExc_ImportError"
+ "PyExc_EnvironmentError"
+ "PyExc_IOError"
+ "PyExc_OSError"
+ "PyExc_EOFError"
+ "PyExc_RuntimeError"
+ "PyExc_NotImplementedError"
+ "PyExc_NameError"
+ "PyExc_UnboundLocalError"
+ "PyExc_AttributeError"
+ "PyExc_SyntaxError"
+ "PyExc_IndentationError"
+ "PyExc_TabError"
+ "PyExc_AssertionError"
+ "PyExc_LookupError"
+ "PyExc_IndexError"
+ "PyExc_KeyError"
+ "PyExc_ArithmeticError"
+ "PyExc_OverflowError"
+ "PyExc_ZeroDivisionError"
+ "PyExc_FloatingPointError"
+ "PyExc_ValueError"
+ "PyExc_UnicodeError"
+ "PyExc_ReferenceError"
+ "PyExc_SystemError"
+ "PyExc_MemoryError"
+ "PyExc_Warning"
+ "PyExc_UserWarning"
+ "PyExc_DeprecationWarning"
+ "PyExc_SyntaxWarning"
+ "PyExc_OverflowWarning"
+ "PyExc_RuntimeWarning"
+ "PyExc_MemoryErrorInst"
+ "_PyExc_Init"
+ "_PyExc_Fini"
+
+; From python23_s.lib(ceval)
+ "PyEval_InitThreads"
+ "PyEval_AcquireLock"
+ "PyEval_ReleaseLock"
+ "PyEval_AcquireThread"
+ "PyEval_ReleaseThread"
+ "PyEval_ReInitThreads"
+ "PyEval_SaveThread"
+ "PyEval_RestoreThread"
+ "Py_AddPendingCall"
+ "Py_MakePendingCalls"
+ "Py_GetRecursionLimit"
+ "Py_SetRecursionLimit"
+ "PyEval_EvalCode"
+ "PyEval_EvalCodeEx"
+ "PyEval_CallObjectWithKeywords"
+ "PyEval_SetProfile"
+ "PyEval_SetTrace"
+ "PyEval_GetBuiltins"
+ "PyEval_GetLocals"
+ "PyEval_GetGlobals"
+ "PyEval_GetFrame"
+ "PyEval_GetRestricted"
+ "PyEval_MergeCompilerFlags"
+ "Py_FlushLine"
+ "PyEval_CallObject"
+ "PyEval_GetFuncName"
+ "PyEval_GetFuncDesc"
+ "_PyEval_SliceIndex"
+
+; From python23_s.lib(compile)
+ "PyCode_New"
+ "PyNode_Compile"
+ "PyNode_CompileFlags"
+ "PyNode_CompileSymtable"
+ "PySymtable_Free"
+ "PyCode_Addr2Line"
+ "Py_OptimizeFlag"
+ "PyCode_Type"
+
+; From python23_s.lib(codecs)
+ "PyCodec_Register"
+ "_PyCodec_Lookup"
+ "PyCodec_Encoder"
+ "PyCodec_Decoder"
+ "PyCodec_StreamReader"
+ "PyCodec_StreamWriter"
+ "PyCodec_Encode"
+ "PyCodec_Decode"
+ "_PyCodecRegistry_Init"
+ "_PyCodecRegistry_Fini"
+
+; From python23_s.lib(errors)
+ "PyErr_Restore"
+ "PyErr_SetObject"
+ "PyErr_SetNone"
+ "PyErr_SetString"
+ "PyErr_Occurred"
+ "PyErr_GivenExceptionMatches"
+ "PyErr_ExceptionMatches"
+ "PyErr_NormalizeException"
+ "PyErr_Fetch"
+ "PyErr_Clear"
+ "PyErr_BadArgument"
+ "PyErr_NoMemory"
+ "PyErr_SetFromErrnoWithFilename"
+ "PyErr_SetFromErrno"
+ "_PyErr_BadInternalCall"
+ "PyErr_Format"
+ "PyErr_BadInternalCall"
+ "PyErr_NewException"
+ "PyErr_WriteUnraisable"
+ "PyErr_Warn"
+ "PyErr_WarnExplicit"
+ "PyErr_SyntaxLocation"
+ "PyErr_ProgramText"
+
+; From python23_s.lib(frozen)
+ "PyImport_FrozenModules"
+
+; From python23_s.lib(frozenmain)
+ "Py_FrozenMain"
+
+; From python23_s.lib(future)
+ "PyNode_Future"
+
+; From python23_s.lib(getargs)
+ "PyArg_Parse"
+ "PyArg_ParseTuple"
+ "PyArg_VaParse"
+ "PyArg_ParseTupleAndKeywords"
+ "PyArg_UnpackTuple"
+
+; From python23_s.lib(getcompiler)
+ "Py_GetCompiler"
+
+; From python23_s.lib(getcopyright)
+ "Py_GetCopyright"
+
+; From python23_s.lib(getmtime)
+ "PyOS_GetLastModificationTime"
+
+; From python23_s.lib(getplatform)
+ "Py_GetPlatform"
+
+; From python23_s.lib(getversion)
+ "Py_GetVersion"
+
+; From python23_s.lib(graminit)
+ "_PyParser_Grammar"
+
+; From python23_s.lib(import)
+ "_PyImport_Init"
+ "_PyImport_Fini"
+ "PyImport_GetModuleDict"
+ "PyImport_Cleanup"
+ "PyImport_GetMagicNumber"
+ "_PyImport_FixupExtension"
+ "_PyImport_FindExtension"
+ "PyImport_AddModule"
+ "PyImport_ExecCodeModule"
+ "PyImport_ExecCodeModuleEx"
+ "PyImport_ImportFrozenModule"
+ "PyImport_ImportModule"
+ "PyImport_Import"
+ "PyImport_ImportModuleEx"
+ "PyImport_ReloadModule"
+; "initimp"
+ "PyImport_ExtendInittab"
+ "PyImport_AppendInittab"
+ "PyImport_Inittab"
+ "_PyImport_Filetab"
+
+; From python23_s.lib(importdl)
+ "_PyImport_LoadDynamicModule"
+
+; From python23_s.lib(marshal)
+ "PyMarshal_WriteLongToFile"
+ "PyMarshal_WriteObjectToFile"
+ "PyMarshal_ReadShortFromFile"
+ "PyMarshal_ReadLongFromFile"
+ "PyMarshal_ReadLastObjectFromFile"
+ "PyMarshal_ReadObjectFromString"
+ "PyMarshal_ReadObjectFromFile"
+ "PyMarshal_WriteObjectToString"
+ "PyMarshal_Init"
+
+; From python23_s.lib(modsupport)
+ "Py_InitModule4"
+ "Py_BuildValue"
+ "Py_VaBuildValue"
+ "PyEval_CallFunction"
+ "PyEval_CallMethod"
+ "PyModule_AddObject"
+ "PyModule_AddIntConstant"
+ "PyModule_AddStringConstant"
+ "_Py_PackageContext"
+
+; From python23_s.lib(mysnprintf)
+ "PyOS_snprintf"
+ "PyOS_vsnprintf"
+
+; From python23_s.lib(mystrtoul)
+ "PyOS_strtoul"
+ "PyOS_strtol"
+
+; From python23_s.lib(pyfpe)
+ "PyFPE_dummy"
+
+; From python23_s.lib(pystate)
+ "PyInterpreterState_New"
+ "PyInterpreterState_Clear"
+ "PyThreadState_Clear"
+ "PyThreadState_Delete"
+ "PyInterpreterState_Delete"
+ "PyThreadState_New"
+ "PyThreadState_DeleteCurrent"
+ "PyThreadState_Get"
+ "PyThreadState_Swap"
+ "PyThreadState_GetDict"
+ "PyInterpreterState_Head"
+ "PyInterpreterState_Next"
+ "PyInterpreterState_ThreadHead"
+ "PyThreadState_Next"
+ "_PyThreadState_Current"
+
+; From python23_s.lib(pythonrun)
+ "Py_IgnoreEnvironmentFlag"
+ "Py_DebugFlag"
+ "Py_VerboseFlag"
+ "Py_NoSiteFlag"
+ "Py_InteractiveFlag"
+ "Py_FrozenFlag"
+ "Py_IsInitialized"
+ "Py_Initialize"
+ "Py_FatalError"
+ "Py_Finalize"
+ "Py_NewInterpreter"
+ "PyErr_Print"
+ "Py_EndInterpreter"
+ "Py_SetProgramName"
+ "Py_GetProgramName"
+ "Py_SetPythonHome"
+ "Py_GetPythonHome"
+ "PyRun_AnyFile"
+ "PyRun_AnyFileExFlags"
+ "PyRun_AnyFileFlags"
+ "PyRun_AnyFileEx"
+ "Py_FdIsInteractive"
+ "PyRun_InteractiveLoopFlags"
+ "PyRun_SimpleFileExFlags"
+ "PyRun_InteractiveLoop"
+ "PyRun_InteractiveOneFlags"
+ "PyRun_InteractiveOne"
+ "PyRun_SimpleFile"
+ "PyRun_SimpleFileEx"
+ "PyRun_FileExFlags"
+ "PyRun_SimpleString"
+ "PyRun_SimpleStringFlags"
+ "PyRun_StringFlags"
+ "PyErr_PrintEx"
+ "Py_Exit"
+ "PyErr_Display"
+ "PyRun_String"
+ "PyParser_SimpleParseString"
+ "PyRun_File"
+ "PyRun_FileEx"
+ "PyParser_SimpleParseFile"
+ "PyParser_SimpleParseStringFlags"
+ "PyRun_FileFlags"
+ "PyParser_SimpleParseFileFlags"
+ "Py_CompileString"
+ "Py_CompileStringFlags"
+ "Py_SymtableString"
+ "Py_AtExit"
+ "PyOS_getsig"
+ "PyOS_setsig"
+ "Py_UseClassExceptionsFlag"
+ "Py_UnicodeFlag"
+ "_Py_QnewFlag"
+ "_PyThread_Started"
+
+; From python23_s.lib(structmember)
+ "PyMember_Get"
+ "PyMember_GetOne"
+ "PyMember_Set"
+ "PyMember_SetOne"
+
+; From python23_s.lib(symtable)
+ "PySymtableEntry_New"
+ "PySymtableEntry_Type"
+
+; From python23_s.lib(sysmodule)
+ "PySys_GetObject"
+ "PySys_GetFile"
+ "PySys_SetObject"
+ "PySys_ResetWarnOptions"
+ "PySys_AddWarnOption"
+ "_PySys_Init"
+ "PySys_SetPath"
+ "PySys_SetArgv"
+ "PySys_WriteStdout"
+ "PySys_WriteStderr"
+
+; From python23_s.lib(traceback)
+ "PyTraceBack_Here"
+ "PyTraceBack_Print"
+ "PyTraceBack_Type"
+
+; From python23_s.lib(getopt)
+ "_PyOS_GetOpt"
+ "_PyOS_opterr"
+ "_PyOS_optind"
+ "_PyOS_optarg"
+
+; From python23_s.lib(dynload_shlib)
+ "_PyImport_DynLoadFiletab"
+ "_PyImport_GetDynLoadFunc"
+
+; From python23_s.lib(thread)
+ "PyThread_init_thread"
+ "PyThread_start_new_thread"
+ "PyThread_get_thread_ident"
+ "PyThread_exit_thread"
+ "PyThread__exit_thread"
+ "PyThread_allocate_lock"
+ "PyThread_free_lock"
+ "PyThread_acquire_lock"
+ "PyThread_release_lock"
+
+; From python23_s.lib(gcmodule)
+; "initgc"
+ "_PyGC_Dump"
+ "_PyObject_GC_Track"
+ "_PyObject_GC_UnTrack"
+ "_PyObject_GC_Malloc"
+ "_PyObject_GC_New"
+ "_PyObject_GC_NewVar"
+ "_PyObject_GC_Resize"
+ "_PyObject_GC_Del"
+ "_PyGC_generation0"
+
+; From python23_s.lib(signalmodule)
+ "PyErr_CheckSignals"
+; "initsignal"
+ "PyErr_SetInterrupt"
+ "PyOS_InitInterrupts"
+ "PyOS_FiniInterrupts"
+ "PyOS_InterruptOccurred"
+ "PyOS_AfterFork"
+
+; From python23_s.lib(posixmodule)
+; "initos2"
+
+; From python23_s.lib(threadmodule)
+; "initthread"
+
+; From python23_s.lib(_sre)
+; "init_sre"