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

"Martin v. Löwis" martin at v.loewis.de
Thu Feb 9 23:24:58 CET 2006


Neil Hodgson wrote:

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.

Sure, but that is a change to the API. Contributions are welcome, along with a plan how breakage of existing code can be minimized.

Regards, Martin



More information about the Python-Dev mailing list