Re: Python 2.7 deprecated the PyCObject API?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Python 2.7 deprecated the PyCObject API?
Дата
Msg-id 1282070935.25113.10.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Python 2.7 deprecated the PyCObject API?  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Python 2.7 deprecated the PyCObject API?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
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.


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Re: Additional git conversion steps
Следующее
От: Tom Lane
Дата:
Сообщение: Re: refactoring comment.c