[Python-Dev] Google Summer of Code proposal: improvement of long int and adding new types/modules.

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 22 06:11:50 CEST 2006


Alex Martelli wrote:
> gmpy.c
> #include's gmp.h and uses (==expands) some of the C macros there
> defined -- doesn't that make gmpy.o a derived work of gmp.h?

Assuming that gmp.h is the header which defines the
public interface of the gmp library, any code which
uses it as a library will be including gmp.h. So
that in itself doesn't imply that you're doing more
than using it as a library.

--
Greg


More information about the Python-Dev mailing list