Problems importing _sre w/VC7-compiled Python 2.1
Fredrik Lundh
fredrik at pythonware.com
Mon May 20 16:09:10 EDT 2002
Andrew MacIntyre wrote:
> On 19 May 2002, David Aldridge wrote:
>
> > After more investigation, turns out init_sre() was NOT
> > __declspec(dllexport)!
>
> I had been under the impression that sre was intended to always be built
> into the Python core (ie not as a loadable extension module), which might
> explain some of what you found.
SRE builds just fine as a DLL, and uses a DL_EXPORT statement
to make sure it exports the right stuff. this works perfectly fine
under VC5 and VC6.
looks like the DL_EXPORT stuff simply doesn't work under VC7.
someone should file a bug report (http://www.python.org/dev/).
</F>
More information about the Python-list
mailing list