Zachary Turner
2015-02-20 16:41:47 UTC
Does anyone understand the technical reasons why an extension module must
be compiled with the same version of msvc as python itself? Are there any
workarounds? It's really quite an inconvenience.
If the reason is because python27.dll and the extension module free each
others' memory, then it seems like this could be solved by having each
supply the other with an alloc and free function pointer, and using the
correct allocator on each side.
Is the situation better in python 3 than it is in 2.7? And is anyone aware
of any ways to get around this restriction so that i can write an extension
module that will work with a binary release of python?
be compiled with the same version of msvc as python itself? Are there any
workarounds? It's really quite an inconvenience.
If the reason is because python27.dll and the extension module free each
others' memory, then it seems like this could be solved by having each
supply the other with an alloc and free function pointer, and using the
correct allocator on each side.
Is the situation better in python 3 than it is in 2.7? And is anyone aware
of any ways to get around this restriction so that i can write an extension
module that will work with a binary release of python?