Problems importing _sre w/VC7-compiled Python 2.1

David Aldridge audballio at yahoo.com
Mon May 20 20:20:38 EDT 2002


I just submitted the bug.  Will be interesting to see what the "correct" fix
is, if it's not the one I posted :)

Cheers,
David


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message
news:GJcG8.8159$p56.2327369 at newsb.telia.net...
> 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