Hi,

2011/1/5 Alex Gaynor <[email protected]>:
> The code is all at: http://bitbucket.org/alex_gaynor/pypy-postgresql, I
> don't plan on merging this back into the main dev tree, as it doesn't seem
> appropriate for pypy-core to have a PostgreSQL adapter,

There is already a module/oracle directory in the pypy tree, so why not...
but you should be careful with the license: If your work is a
translation of psycopg2, it probably needs to be licensed under the
GPL.
so this would be incompatible with PyPy which is licensed under a
MIT-like license.
(the oracle module in pypy is based on cx_Oracle, which also uses the
MIT license)

> rather I'd like to
> spend some time looking at seperate compilation, so we can have external
> RPython modules.

If your goal is to build RPython modules incrementally, after the pypy
interpreter has been compiled, it it a very difficult task, and at
least three attempts to do it have failed. (The fourth one eventually
produced the cpyext module, which is not a complete failure, but has
nothing to do with RPython)

On the other hand, it would be handy to be able to translate modules
which source is outside pypy tree; something like::
    ./translate.py -Ojit targetpypystandalone.py
--with-external-module=/path/to/my/psycopg2

-- 
Amaury Forgeot d'Arc
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to