homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.7.2 64-bit Windows library has __impt_Py* for several symbols instead of __imp__Py*
Type: compile error Stage: resolved
Components: Windows Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Steve.McConnel, brian.curtin, loewis, nadeem.vawda, terry.reedy, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2012年02月27日 16:32 by Steve.McConnel, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (3)
msg154487 - (view) Author: Steve McConnel (Steve.McConnel) Date: 2012年02月27日 16:32
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.
msg154800 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012年03月02日 21:33
I am building and running 2.7.2 on 64-bit Win 7 from the repository but not linking to anything else. Please look at the 2.7.3 release candidate.
msg367298 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020年04月26日 06:09
As 2.7 is now out of support, I'm going to go ahead and close the issue.
History
Date User Action Args
2022年04月11日 14:57:27adminsetgithub: 58349
2020年04月26日 06:09:15zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg367298

resolution: out of date
stage: needs patch -> resolved
2014年05月13日 21:52:58skrahsetnosy: - skrah
2012年03月31日 23:36:36pitrousetnosy: + skrah
2012年03月02日 21:33:55terry.reedysetnosy: + terry.reedy
messages: + msg154800
2012年02月27日 16:35:11nadeem.vawdasetversions: + Python 2.7
nosy: + loewis, tim.golden, nadeem.vawda, brian.curtin

components: + Windows
type: compile error
stage: needs patch
2012年02月27日 16:32:31Steve.McConnelcreate

AltStyle によって変換されたページ (->オリジナル) /