[New-bugs-announce] [issue14141] 2.7.2 64-bit Windows library has __impt_Py* for several symbols instead of __imp__Py*

Steve McConnel report at bugs.python.org
Mon Feb 27 17:32:32 CET 2012


New submission from Steve McConnel <stephen_mcconnel at sil.org>:

The Python27.lib file shipped with the 64-bit Windows installer (.msi) has several symbols with improper values.  The problem appears to be a single underscore instead of a double underscore between __imp and Py in the symbol.  Attempting to build our application which links to Python in Visual Studio 2008, the following symbols are undefined due to this problem:
 __imp__PyCallable_Check
 __imp__PyClass_Type
 __imp__PyDict_GetItemString
 __imp__PyErr_Clear
 __imp__PyErr_Fetch
 __imp__PyErr_Occurred
 __imp__PyImport_ImportModule
 __imp__PyInstance_Type
 __imp__PyModule_GetDict
 __imp__PyObject_CallObject
 __imp__PyRun_SimpleStringFlags
 __imp__PyString_AsString
 __imp__PyString_AsStringAndSize
 __imp__PyString_FromStringAndSize
 __imp__PyString_Type
 __imp__PyTraceBack_Type
 __imp__PyTuple_New
 __imp__PyTuple_SetItem
 __imp__PyType_IsSubtype
 __imp__PyUnicodeUCS2_AsUnicode
 __imp__PyUnicodeUCS2_FromUnicode
 __imp__PyUnicodeUCS2_GetSize
 __imp__Py_DecRef
 __imp__Py_Finalize
 __imp__Py_Initialize

These symbols appear to be properly defined in the 32-bit version.

----------
messages: 154487
nosy: Steve.McConnel
priority: normal
severity: normal
status: open
title: 2.7.2 64-bit Windows library has __impt_Py* for several symbols instead of __imp__Py*

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14141>
_______________________________________


More information about the New-bugs-announce mailing list