Re: BUG #15548: Unaccent does not remove combining diacritical characters
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hugh Ranalli <hugh@whtc.ca>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, thomas.munro@enterprisedb.com, Daniel Verite <daniel@manitou-mail.org>, pgsql-bugs@lists.postgresql.org
Date: 2019-01-03T01:15:22Z
Lists: pgsql-bugs, pgsql-hackers
On Wed, Jan 02, 2019 at 02:32:32PM -0500, Tom Lane wrote: > Seeing that supporting python 2 only adds a dozen lines of code, > I vote for retaining it for now. It'd be appropriate to drop that when > python 3 is the overwhelmingly more-installed version, but AFAICT that > isn't the case yet. As a side note, if I recall correctly Python 2.7 will be EOL'd in 2020 by community, though I suspect that a couple of vendors will still maintain compatibility for a couple of years in what they ship. CentOS and RHEL enter in this category perhaps. Like Peter, I would vote for just maintaining support for Python 3 in this script, as any modern development machines have it anyway, and not a lot of commits involve it (I am counting 4 since 2015). -- Michael
Commits
-
Fix unaccent generation script in Windows
- 0afc0a784188 13.0 landed
-
Add combining characters to unaccent.rules.
- 456e3718e7b7 12.0 landed
-
Update unaccent rules with release 34 of CLDR for Latin-ASCII.xml
- e1c1d5444e43 12.0 landed
-
unaccent: Make generate_unaccent_rules.py Python 3 compatible
- 3d59da9ccdb9 12.0 landed
-
Convert unaccent tests to UTF-8
- b6f3649bba98 12.0 landed