[Stackless] Crash with py-postgresql

Richard Tew richard.m.tew at gmail.com
Wed Nov 10 07:11:22 CET 2010


On Wed, Nov 10, 2010 at 12:50 PM, Jerome Rose <jrose.pub at gmail.com> wrote:
> Stackless is crashing when attempting to open a connection with
> py-postgresql (1.0.2) http://pypi.python.org/pypi/py-postgresql
> Python 3.1.2 Stackless 3.1b3 060516 (release31-maint, May 25 2010, 08:34:17)
> [MSC v.1500 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import postgresql
>>>> postgresql.open()
> result:

This is as good a place as any to post bugs.  Thanks for pasting your
Stackless version.  Neither Kristjan nor I, use postgresql
unfortunately so if you wish us to look into this as soon as possible,
it would be good to get some additional information that would make
this easy for one of us to do so.  The "result" you posted is
unfortunately worthless for any purpose I can think of.

A clear complete list of steps along the following lines would be
great so we could skip to the bug fixing and not think about this
particular extension's eccentricities, should it have any:
- Download stackless python 3.1.2 installer for windows.
- Do some command to install this postgresql package.
- Run the interpreter.
- ...

Also, if you can get a stack trace for the crash, that too would give
us further context that would aid us in looking into this.

We should ideally be API compatible with standard Python.  There is
however one exception, there is a framework named SIP that aids in the
writing of extensions.  PyQT used to be based on it.  It did some
low-level things that made assumptions about low-level Python
internals, and this clashed with Stackless.  I have no idea if
postgresql is using SIP, I was unable to determine this from their web
site.

Cheers,
Richard.



More information about the Stackless mailing list