Re: BUG #13440: unaccent does not remove all diacritics

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: BUG #13440: unaccent does not remove all diacritics
Дата
Msg-id 56E83FF3.5040904@sigaev.ru
обсуждение исходный текст
Ответ на Re: BUG #13440: unaccent does not remove all diacritics  (Léonard Benedetti <benedetti@mlpo.fr>)
Ответы Re: BUG #13440: unaccent does not remove all diacritics  (Léonard Benedetti <benedetti@mlpo.fr>)
Список pgsql-bugs
> So I think we can keep just a version for Python 2 for now. If everyone
> agrees, I'll update the files and patch.

Attached patch is a my try to make script works for both 2 & 3 versions of
Python. At least it produces the same result for 2.7 and 3.4. Pls, could you
check? I'm not a Python developer at all.

BTW, I revomed unicode characted from code and leaved it only in comments.

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

Вложения

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #14020: row_number() over(partition by order by) - weird behavior
Следующее
От: Léonard Benedetti
Дата:
Сообщение: Re: BUG #13440: unaccent does not remove all diacritics