[DB-SIG] Popy - Psycopg - PyPgSQL - PyGreSQL

Gerhard Häring haering_postgresql@gmx.de
Tue, 1 Oct 2002 17:05:30 +0200


* Federico Di Gregorio <fog@initd.org> [2002-10-01 16:30 +0200]:
> Il mar, 2002-10-01 alle 16:08, Magnus Lycka ha scritto:
> > [psycopg is licensed under the GPL]
> > I suppose that means that applications that import
> > that module will be GPL as well...
> 
> well, no. you're not directly linking to it, python does and python
> license is GPL-compatible. then you call psycopg *through* python using
> a well defined api, so your code can be anything. this is an edge case,
> but my interpretation is that as long as:
> 
> 	1/ you don't use psycopg code without python, by linking
>            directly into your app; and
> 	2/ you release modifications to psycopg
> 
> you should be ok. this is just an interpretation, i hope FSF will
> clarify this dark corner in a future version of the GPL.

Hey, cool. This was my interpretation, too. What made me a little unsure
is that I haven't seen this interpretation anywhere else. At least until
today.

-- Gerhard