Re: RFC: Extend psycopg2.connect to accept all valid parameters? - Mailing list psycopg

From Daniele Varrazzo
Subject Re: RFC: Extend psycopg2.connect to accept all valid parameters?
Date
Msg-id CA+mi_8YTjfcqyWm_666WLBjauO5UtUNUCFZfwfyZV_M2cRLZtA@mail.gmail.com
Whole thread Raw
In response to Re: RFC: Extend psycopg2.connect to accept all valid parameters?  (Federico Di Gregorio <fog@dndg.it>)
Responses Re: RFC: Extend psycopg2.connect to accept all valid parameters?
List psycopg
On Thu, Nov 17, 2011 at 11:18 AM, Federico Di Gregorio <fog@dndg.it> wrote:

> Never said doing it in Python is wrong. In fact anything that isn't
> time-critical (type conversions, etc.) at this point is OK in Python.

I was also thinking that having the pair connect()/_connect() is
perfect for regression testing: _connect() can be replaced with a stub
to test the arguments conversion without really connecting.

-- Daniele

psycopg by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?
Next
From: Federico Di Gregorio
Date:
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?