Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEJyI-0004No-Re for psycopg@arkaria.postgresql.org; Sun, 21 Oct 2018 20:05:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gEJyG-0002gd-GW for psycopg@arkaria.postgresql.org; Sun, 21 Oct 2018 20:05:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEJyG-0002gW-6h for psycopg@lists.postgresql.org; Sun, 21 Oct 2018 20:05:08 +0000 Received: from sonic308-19.consmr.mail.ir2.yahoo.com ([77.238.178.147]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEJy8-0003Nd-OI for psycopg@lists.postgresql.org; Sun, 21 Oct 2018 20:05:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1540152296; bh=GBIGWxzuDCBLIeAfr7eEkwEO5kMpxyc2yMZIYs5v6bk=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=MAUaS2WoCZSx5oj0MqPoKuahC9zD5/rPHC8TIL1MESL9FzHWRzEZmumx0x9v71UcLEQvU6v2uqI1BHp1OPizYBaU4crQ5HBYLnWQW8QCnv/rb3m7Xl8npeaFZamyGQ01ocFEIqqqFLl/f7mj4HywZiT0WTZRHFh+y3T26DcjhKYH4UbsmwHLnuhz8kp54/cmKK14MSub7X11RFuKzIdNi6y19SAmfUPFEKu1AG2AVFiu8ksekF6h2wiAkYuhShH6l2i1pKkZw07ATU8bnjsG50dg6m0AorK9kWajzNk5NUjOuiFDh4Q6lKpw10Iz1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Oa zIb647tGa3xPYcolK0DRGSujx5rVM5Sa2E.Qo4HnXRB6SLKFOjB_o33QR1A1wZ68D3QECHuFhOl1 evQsvQerPF.41f9Y6VsU7666IHlBdcMuabplKUaCTip_0.Ew- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ir2.yahoo.com with HTTP; Sun, 21 Oct 2018 20:04:56 +0000 Date: Sun, 21 Oct 2018 20:04:25 +0000 (UTC) From: Christian Ferrari Reply-To: Christian Ferrari To: psycopg@lists.postgresql.org Message-ID: <1820701010.20861820.1540152265403@mail.yahoo.com> In-Reply-To: <62b46b76-ce7f-6b89-b5ad-d0f2c2533432@dndg.it> References: <1878453370.14916776.1539604797985@mail.yahoo.com> <62b46b76-ce7f-6b89-b5ad-d0f2c2533432@dndg.it> Subject: Re: Feature branches merged to master for 2.8 release MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20861819_401655881.1540152265401" X-Mailer: WebService/1.1.12512 YMailNorrin Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 Content-Length: 3284 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_20861819_401655881.1540152265401 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > Yes, I'll merge that tomorrow (no time today). I was for a name without > the underscore but the MySQL guy has a point where he says that the > client code should be warned that the driver can't guarantee API > stability in this case (what if PGconn changes?). So, maybe > `_get_native_connection()` is OK. > federico Dear Federico,mysqlclient-python accepted the pull requesthttps://github.com/PyMySQL/mysqlclient-python/commit/54c69436f45f2c78b3ace754780a1a265e60d430and the final method name for MySQLdb connection is "_get_native_connection()" I'm ready to release LIXA 1.7.1 with XTA support for Python2/3 and PostgreSQL/MySQL/MariaDB, but currently I still have all the examples with"get_native_connection()" for PostgreSQLand"_get_native_connection()" for MySQL/MariaDB Do you mind if I fork the master branch of Psycopg2 and apply your changes? I would like to avoid a release with inconsistent method name that should be fixed as soon as Psycopg2 2.8 will be available. Kind RegardsCh.F. ------=_Part_20861819_401655881.1540152265401 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> Yes= , I'll merge that tomorrow (no time today). I was for a name without
> the underscore but the MySQL guy has a point where he say= s that the
> client code should be warned that the dr= iver can't guarantee API
> stability in this case (wh= at if PGconn changes?). So, maybe
> `_get_native_conn= ection()` is OK.

> federico

Dear Federico,
mysqlclient-python accepted= the pull request
and the final method na= me for MySQLdb connection is "_get_native_connection()"

I'm ready to release LIXA 1.7.1 with XTA support for Python2/3 and Po= stgreSQL/MySQL/MariaDB, but currently I still have all the examples with
"get_native_connection()" for PostgreSQL
and
"_= get_native_connection()" for MySQL/MariaDB

Do you = mind if I fork the master branch of Psycopg2 and apply your changes? I woul= d like to avoid a release with inconsistent method name that should be fixe= d as soon as Psycopg2 2.8 will be available.

Kind = Regards
Ch.F.



------=_Part_20861819_401655881.1540152265401--