Author silverbacknet
Recipients brian.curtin, loewis, silverbacknet, spatz123
Date 2012-10-20.21:34:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Same errors in 3.3. Some names are decorated, some aren't, seemingly at random.

For instance, python32.lib contains:

    35B20 _PyObject_Dump
    35B20 __imp__PyObject_Dump

and just below that,

    2924A PyObject_Free
    2924A __imp_PyObject_Free

But the Visual Studio 2010 compiler always looks for the underscored names for x64, resulting in, for instance:

  error LNK2019: unresolved external symbol __imp__PyObject_Free referenced in function _WRdealloc

I understand that the x64 isn't supposed to use underscore prefixes as all, but it is and Python partially is. I have no idea why.

The preprocessed output of including python.h, btw, is:

__declspec(dllimport) void PyObject_Free(void *);
Date User Action Args
2012-10-20 21:34:36silverbacknetsetrecipients: + silverbacknet, loewis, brian.curtin, spatz123
2012-10-20 21:34:36silverbacknetsetmessageid: <>
2012-10-20 21:34:36silverbacknetlinkissue15772 messages
2012-10-20 21:34:35silverbacknetcreate