Re: Re: [COMMITTERS] pgsql: Fix mapping of PostgreSQL encodings to Python encodings.
В списке pgsql-hackers по дате отправления:
| От | Jan Urbański |
|---|---|
| Тема | Re: Re: [COMMITTERS] pgsql: Fix mapping of PostgreSQL encodings to Python encodings. |
| Дата | |
| Msg-id | 4FF60D12.2030806@wulczer.org обсуждение исходный текст |
| Ответ на | Re: Re: [COMMITTERS] pgsql: Fix mapping of PostgreSQL encodings to Python encodings. (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Re: [COMMITTERS] pgsql: Fix mapping of PostgreSQL encodings
to Python encodings.
|
| Список | pgsql-hackers |
On 05/07/12 23:30, Peter Eisentraut wrote: > On tor, 2012-07-05 at 22:53 +0200, Jan Urbański wrote: >> The problem is that PLyUnicode_Bytes is (via an ifdef) used as >> PyString_ToString on Python3, which means that there are numerous call >> sites and new ones might appear in any moment. I'm not that keen on >> invoking the traceback machinery on low-level encoding errors. > > Why not? Because it can lead to recursion errors, like the one this patch was supposed to fix. The traceback machinery calls into the encoding functions, because it converts Python strings (like function names) into C strings.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера