Re: [snafu] isolation-level change in 2.4.2

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: [snafu] isolation-level change in 2.4.2
Дата
Msg-id CACMqXC+f3Q6e4Y5p413GB1tPy977H0_XXHMhcfCd+S2Jevw29g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [snafu] isolation-level change in 2.4.2  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Ответы Re: [snafu] isolation-level change in 2.4.2  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
On Wed, Dec 14, 2011 at 6:15 PM, Daniele Varrazzo
<daniele.varrazzo@gmail.com> wrote:
> The only widespread use of a numeric value I've seen (including many
> official psycopg2 examples) is for autocommit=0, so when I've changed
> the values I've cared to keep that value stable only.

Please remove any kind of usage of plain ints from psycopg
test and example code, if you really want discourage such use.

db.set_isolation_level(0) quite strongly hints that other
numeric usage is valid too.

Esp. note the usage in lib/psycopg1.py that was not updated
with your previous changes.

--
marko

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

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: [snafu] isolation-level change in 2.4.2
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: [snafu] isolation-level change in 2.4.2