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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #13440: unaccent does not remove all diacritics
Дата
Msg-id 56E386CD.9000705@gmx.net
обсуждение исходный текст
Ответ на Re: BUG #13440: unaccent does not remove all diacritics  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #13440: unaccent does not remove all diacritics  (Léonard Benedetti <benedetti@mlpo.fr>)
Re: BUG #13440: unaccent does not remove all diacritics  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 3/11/16 1:16 PM, Tom Lane wrote:
> Léonard Benedetti <benedetti@mlpo.fr> writes:
>> Despite all that, I think this transition to Python 3 is wise, it is
>> available since 2008. Python 2 is legacy and its last version (2.7) is a
>> “end-of-life release�.
>
> Doesn't matter.  We support both Python 2 and 3, and this script must
> do so as well, else it's not getting committed.  Any desupport for
> Python 2 in PG is very far away; no one has even suggested we consider
> it yet.

This script is only run occasionally when the unaccent data needs to be
updated from Unicode data, so it's not really that important what
language and version it's written in.  That said, the mentioned reason
for changing this to Python 3 is so that one can include Unicode
characters into the source text, which I find undesirable in general
(for PostgreSQL source code) and not very useful in this particular
case.  I think the script can be kept in Python 2 style.  Making it
upward compatible with Python 3 can be a separate (small) project.




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

Предыдущее
От: Léonard Benedetti
Дата:
Сообщение: Re: BUG #13440: unaccent does not remove all diacritics
Следующее
От: Léonard Benedetti
Дата:
Сообщение: Re: BUG #13440: unaccent does not remove all diacritics