Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aeZpx-0002o5-JH for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Mar 2016 03:03:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aeZpw-00057N-Oi for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Mar 2016 03:03:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aeZpJ-0004KI-Qw for pgsql-bugs@postgresql.org; Sat, 12 Mar 2016 03:02:49 +0000 Received: from mout.gmx.net ([212.227.15.18]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1aeZpC-0001dM-5O for pgsql-bugs@postgresql.org; Sat, 12 Mar 2016 03:02:49 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M1msU-1ZpMok0Clu-00tl92 for ; Sat, 12 Mar 2016 04:02:40 +0100 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id D5272207ED for ; Fri, 11 Mar 2016 22:02:38 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 11 Mar 2016 22:02:38 -0500 X-Sasl-enc: JobUqL7oS3dj+wwZQwpnGbdSgpnJKK4EjfMd6S3nlQRe 1457751758 Received: from [10.0.0.4] (c-73-13-69-21.hsd1.pa.comcast.net [73.13.69.21]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FCFF6800EC; Fri, 11 Mar 2016 22:02:38 -0500 (EST) Subject: Re: BUG #13440: unaccent does not remove all diacritics To: Tom Lane , =?UTF-8?Q?L=c3=a9onard_Benedetti?= References: <20150614063707.2734.30270@wrigleys.postgresql.org> <12238.1434304758@sss.pgh.pa.us> <20150615045056.GM133018@postgresql.org> <38161.1434372933@sss.pgh.pa.us> <1790.1434492074@sss.pgh.pa.us> <4186.1434655846@sss.pgh.pa.us> <56A4426F.2040108@mlpo.fr> <56BCAA91.1040208@sigaev.ru> <56BCF7A5.6020204@mlpo.fr> <56BCF98B.3040302@mlpo.fr> <56BE0BE6.5050003@sigaev.ru> <56C4E11D.5050809@mlpo.fr> <56E17AAD.6080605@sigaev.ru> <56E18614.90003@mlpo.fr> <56E18841.2000406@mlpo.fr> <56E2F496.3020904@sigaev.ru> <56E2FD12.2000102@mlpo.fr> <29444.1457720165@sss.pgh.pa.us> Cc: Teodor Sigaev , PostgreSQL Bugs From: Peter Eisentraut Message-ID: <56E386CD.9000705@gmx.net> Date: Fri, 11 Mar 2016 22:02:37 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <29444.1457720165@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:+jEjovsetNabnv616dZNNP99yCVRl6P136hvkWrU1UH0uMCNFXL ASTGFNsPl/IpqRQvs3w29lSRfgfWLt3hBf+rYzjJRGZAujXsd9QAEZVloT1Wq6HGUwx/5im XAZRfL9lyrH9El3F1YUpC5t59CxODL09PD87+qTj9CpFjbtfGBKeeq/u4fMkmdrn9lv6pT/ 3BLOghST3E1594gtV83GA== X-UI-Out-Filterresults: notjunk:1;V01:K0:G3CZysxsk3k=:KBUkHD2uX2faCO0NCwdbO+ /AKqBs4Yg7N0+G9Lu5HY6Q5wAXEZQ0yRG2KnEiFIHgkqH4BQ+Jk0ugErCQZvZ+Nx4IuRWDzTY Bjic59p/dBfbeeXZgYUNQ8ZRWWAAQFHrxTHebJKBQ/apHbA6VfXrexqA03IXhxOVHatyXZQ2e HrrMUGKwk5gutDCjA1vjod1pB5DQ6TkEl3AqCm69Nqk37AiToblBRQwDJ2r3ku6BeX7Lk1CSP auVYEahvQeXLNoh+qOkzzO21td+ezU4cq85zHUViuy+UUdNY+RhiV/AkCj6sFTDZVcyjzIdoC erirSv8YxRIYMNDqBBXQlLxriyJ9zg+B+yMUJ6WafnKh6lxuu0Dt9zXmori8WGaDb5LDdbQu+ hxXNJSMQdEGY0TvNXguYR0cr3eH5uyry1HQUx9w0TsHRydYLf6+R3WW1GaPbnFGHcRezzuK6h 0XJOQAhXo84V2cgoAN7DFXpe/TDaaJcE2hC7BkLi97u+m0UthD+PwN3Avji/Wdcxox30olrs3 ppCUVqIJDXAtFcWHdl76u7gNqP6LT9mZrj2aplmJm/Qq7m+KHuw5kkMC6iiOZfPwyZFZPsMBz KTXS1akN1tzgm9tYpoyx/oKXSUEGDO9rSZUy4RTQEJbLjTnp0sOKfcyYwB5a0Cc3bEYQ8uuUb YcMRibZ5UufpZnCyvqT6+CCsSQ1QDB/c8d/BTItDCEYTA2L/H4+bJiw/XPsavGAE+OTyDRF0M iJ09jmX4C1jlPXjvktCdCEjO9FvFGCLgRGpaehxYPqE+UZgrls5lOkpJcKfarlfImnOq51Ozb MJbpqFo X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 3/11/16 1:16 PM, Tom Lane wrote: > =?UTF-8?Q?L=c3=a9onard_Benedetti?= 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. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs