Re: Integration of Psycopg with XTA

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Federico Di Gregorio <fog(at)dndg(dot)it>
Cc: psycopg(at)lists(dot)postgresql(dot)org
Subject: Re: Integration of Psycopg with XTA
Date: 2018-10-11 18:46:33
Message-ID: CA+mi_8YQ+eib_kXzD9FhGUGh3Costm9YGsKJ5nC2S=PW2ZUGjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Wed, Oct 10, 2018 at 10:19 PM Federico Di Gregorio <fog(at)dndg(dot)it> wrote:
>
> On 10/10/2018 11:10 PM, Christian Ferrari wrote:
> > By the way, PyMySQL/mysqlclient-python project
> > <https://github.com/PyMySQL/mysqlclient-python> asked me to rename the
> > method from "get_native_conn()" to "_get_native_conn()".

> I think that _if_ this should go cross-database a method without the
> underscore is better. The underscore usually means private and that's
> good as long as it is just that. An informal "standard" method name
> should not have the "_" in it.

+1

-- Daniele

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2018-10-12 16:46:05 Adding an informative object to the connection
Previous Message Federico Di Gregorio 2018-10-10 21:19:45 Re: Integration of Psycopg with XTA