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

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


Neil Hodgson wrote:

At first glance, this is a minor issue - passing FILE* pointers across DLL boundaries isn't something I'd normally expect people to do - but look further and you find you're opening a real can of worms. For example, Python has public APIs which take FILE* parameters.

So convert them to taking PyWrappedFile * parameters.

Easy to say, hard to do.

Regards, Martin



More information about the Python-Dev mailing list