[DB-SIG] Re: cx_Oracle - passing unnecessary bind variables

Anthony Tuininga anthony at computronix.com
Mon Nov 24 15:37:12 EST 2003

On Mon, 2003-11-24 at 13:29, Paul Moore wrote:
> Anthony Tuininga <anthony at computronix.com> writes:
> [...]
> > There is no DB API method for doing so. I have just recently added the
> > necessary code (cursor.bindnames()) to cx_Oracle for those who care to
> > do this. I am also adding the ability to subclass connections and
> > cursors so you can make this extremely transparent.
> [...]
> I'm persuaded. And with these new features, even if I wasn't, I could
> build a cursor subclass which implemented my proposed behaviour for
> myself. (When the new version comes out, I probably will use
> cursor.bindnames() for the one specialised application I hit this
> issue with).

Glad to hear my arguments are convincing -- at least to you and me...
:-) The ability to subclass cursors and connections eliminates all sorts
of specialized cases that I would otherwise have to concern myself with.
Ah, the wonders of Python 2.2 and the new type model!

> Anthony, thanks once again for a great module, and for your patience
> and receptiveness when dealing with my dumb questions.

You're welcome. And keep asking the "dumb" questions -- they spark
thoughts in my mind that otherwise would remain dormant... :-)

> Paul.
Anthony Tuininga
anthony at computronix.com
Distinctive Software. Real People.
Suite 200, 10216 - 124 Street NW
Edmonton, AB, Canada  T5N 4A3
Phone:	(780) 454-3700
Fax:	(780) 454-3838

More information about the DB-SIG mailing list