[Python-Dev] PEP 384 status
Nick Coghlan
ncoghlan at gmail.com
Fri Sep 3 12:24:21 CEST 2010
On Fri, Sep 3, 2010 at 12:44 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> On 02/09/10 09:04, Nick Coghlan wrote:
>
>> I think it would be better if everything dealing with FILE* was a
>> macro rather than a function, yes.
>
> How would that help?
Macros (and, as Antoine pointed out, inline functions) will never
cross C runtime boundaries, even on Windows. They'll get compiled in
when the extension module is built and linked to a C runtime library
from there, so it won't matter if that differs from the one that is
linked to the Python binary.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list