Python 3.1 support

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Python 3.1 support
Дата
Msg-id 1258055641.24453.9.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: Python 3.1 support
Re: Python 3.1 support
Re: Python 3.1 support
Список pgsql-hackers
Here's the patch to support Python >=3.1 with PL/Python.  The
compatibility code is mostly in line with the usual 2->3 C porting
practice and is documented inline.

I needed to create an arguably weird hack to manage the regression
tests.  Instead of creating a new expected file for pretty much every
test file and also for some input files (where Python syntax had
changed), a sed script creates a complete Python 3 compatible set of
input and output files.  Doesn't look pretty but works quite well.  If
anyone has a better idea, please let me know.

Вложения

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: array_to_string bug?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Patch committers