Re: NULL dereference when memory is tight

Поиск
Список
Период
Сортировка
От Federico Di Gregorio
Тема Re: NULL dereference when memory is tight
Дата
Msg-id 4D662A74.9020300@dndg.it
обсуждение исходный текст
Ответ на Re: NULL dereference when memory is tight  (Brian Sutherland <brian@vanguardistas.net>)
Ответы Re: NULL dereference when memory is tight  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
On 24/02/11 10:39, Brian Sutherland wrote:
> Attached is a patch for another issue, though I'm not sure if calling
> PyErr_NoMemory within libpq is sane.

I won't call any Py* function without holding the GIL. That's why
conn_notice_callback() uses its own data structure instead of a simple
Python list.

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
          The reverse side also has a reverse side.  -- Japanese proverb

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

Предыдущее
От: Brian Sutherland
Дата:
Сообщение: Re: NULL dereference when memory is tight
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: NULL dereference when memory is tight