[Python-Dev] Linking with mscvrt (original) (raw)

Neil Hodgson nyamatongwe at gmail.com
Thu Feb 9 23:00:35 CET 2006


Martin v. Löwis:

Not sure whether this was a serious suggestion.

Yes it is.

If pythonxy.dll was statically linked, you would get all the CRT duplication already in extension modules. Given that there are APIs in Python where you have to do malloc/free across the python.dll boundary, you get memory leaks.

Memory allocations across DLL boundaries will have to use wrapper functions.

Neil



More information about the Python-Dev mailing list