From: <sab...@gm...> - 2006-12-14 10:56:02
|
Hi Skip, you can't do that at the moment. you would have to extend the following struct in conn.c in order to expose the 'conn' attribute: static struct memberlist CS_CONNECTION_memberlist[] regards -- S=E9bastien Sabl=E9 2006/12/12, sk...@po... <sk...@po...>: > Is it possible to get the underlying CS_CONNECTION object from the > ConnectionType object somehow? We have applications where both Python co= de > and wrapped C++ code make SQL queries and would like to make just a singl= e > connection to the database (modulo connection locking issues of course). > > -- > Skip Montanaro - sk...@po... - http://www.mojam.com/ > "The hippies and the hipsters did some great stuff in the sixties, > but the geeks pulled their weight too." -- Billy Bragg > _______________________________________________ > Python-sybase mailing list > Pyt...@ww... > https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase > |