Jim Jewett schrieb:
> Is the concern that moving them to a header makes them part of the API?
> 
> In other words, does replacing
> 
>    PyObject *
>    PyFile_FromString(char *name, char *mode)
>    {
>       extern int fclose(FILE *);
>    ...
>    }
> 
> with
> 
>    #include <stdio.h>
> 
> mean that the <stdio.h> needs to be included from then on, even if
> PyFile_FromString stops relying upon it?

stdio.h is included by the Python.h header file anyway. There is simply
on point in declaring fclose() a second time here.

Christian

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to