From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: Python 2.7 deprecated the PyCObject API? |
Date: | 2010-08-25 19:39:19 |
Message-ID: | 1282765159.6146.0.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On tis, 2010-08-17 at 21:48 +0300, Peter Eisentraut wrote:
> On tis, 2010-08-17 at 20:55 +0300, Peter Eisentraut wrote:
> > On fre, 2010-08-13 at 20:20 -0400, Tom Lane wrote:
> > > According to a discussion over in Fedora-land, $subject is true:
> > > http://lists.fedoraproject.org/pipermail/devel/2010-August/140995.html
> > >
> > > I see several calls in plpython.c that seem to refer to PyCObject
> > > stuff.
> > > Anybody have any idea if we need to do something about this?
> >
> > Some exception handling might be good, but I think we don't need to
> > abandon the API yet. It's only "pending deprecation".
>
> Here is a patch. The crash is reproducible, if warnings are turned into
> errors.
I have applied this patch back to 8.0. 7.4's plpython crashes with
Python >= 2.5; it's probably not worth rescuing.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-08-25 19:43:14 | Re: new notify payload as string |
Previous Message | Tom Lane | 2010-08-25 19:28:34 | Re: [GENERAL] initdb fails to allocate shared memory |