From caryc@shore.net Fri Mar 7 16:41:04 1997 From: caryc@shore.net (Cary Collett) Date: Fri, 7 Mar 1997 11:41:04 -0500 (EST) Subject: [PYTHON DB-SIG] Sybase module? Message-ID: <199703071641.LAA03548@shell2.shore.net> I'm fairly new to Python and brand new to this list. I can say though that I do love coding in Python! I was wondering where the lastest version of the (a?) Sybase module for Python could be found. I found one in the Python mailing list archives from a couple of years ago, but it didn't have complete support for all transactions. There were also a couple messages about a year later concerning updating the module, but no other information. _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From Bertil_Reinhammar@ivab.se Mon Mar 10 15:34:02 1997 From: Bertil_Reinhammar@ivab.se (Bertil Reinhammar) Date: Mon, 10 Mar 1997 16:34:02 +0100 Subject: [PYTHON DB-SIG] [help:] oracledb binary Message-ID: <199703101534.QAA05575@mughi.doceye.ivab.se> !!! My customer have: HP-UX 9.04 Oracle 7.2.2.4.0 No ANSI compiler on the system. I have *short* time to solve the problem. Can anyone give me a DB-SIG DBAPI oracledb.sl ? Thanks (in advance)/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Bertil Reinhammar IV DocEye AB (SAAB Combitech Group) phn. +46 13 200606 Teknikringen 9 fax. +46 13 214897 S-58330 Linköping bertil_reinhammar@ivab.se Sweden _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From dan@digicool.com Mon Mar 17 21:50:20 1997 From: dan@digicool.com (Dan Manganelli) Date: Mon, 17 Mar 1997 15:50:20 -0600 Subject: [PYTHON DB-SIG] New version of Oracledb module now available Message-ID: <332DBC9C.3141@digicool.com> We have recently completed updating the oracle module. The following changes have been implemented: 1. It is now possible to use the Oracle type LONG 2. Floating point numbers are now fixed You can get it at: http://www.digicool.com/ftp/pub/releases/unsupported/oracle/oracledb-0.1.2/ -- ##################################################### # Daniel F Manganelli || email : dan@digicool.com # # Software Engineer || Digital Creations # ##################################################### _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From Anthony Baxter Tue Mar 25 11:15:39 1997 From: Anthony Baxter (Anthony Baxter) Date: Tue, 25 Mar 1997 22:15:39 +1100 Subject: [PYTHON DB-SIG] Re: New Oracledb module now available In-Reply-To: Your message of "Tue, 18 Mar 1997 10:41:25 +1100." References: <332daed8.19991636@news.infi.net> Message-ID: <199703251115.WAA21924@jambu.off.connect.com.au> >>> I wrote > Don't suppose you had a chance to look at the > (d is of type dbiDate) > if d: > segfaults? I'm still waiting for our licenses for the Sun debugger to > turn up so I can pound on this. Well, here's the fix. It seems that you must define nb_nonzero for anything with tp_as_number set. Objects/objects.c, line 411 in 1.4 source. (no, I didn't know about it either) My fix makes it so a dbiDate object is "true" if it's not 01/01/1970. An alternate is to simply make it always "true", by make dt_nb_nonzero always return 1. This is something that's not covered by the DB-SIG API. Anthony *** dbi.c.dist Tue Mar 25 21:47:06 1997 --- dbi.c Tue Mar 25 21:58:23 1997 *************** *** 127,132 **** --- 127,134 ---- { return delg(a)->nb_add(dbiValue(a),b); } static PyObject* dt_nb_subtract(PyObject* a, PyObject* b) { return delg(a)->nb_subtract(dbiValue(a),b); } + static int dt_nb_nonzero(PyObject* a) + { return (delg(a)->nb_int(dbiValue(a)) != 0); } static PyObject* dt_nb_int(PyObject* a) { return delg(a)->nb_int(dbiValue(a)); } static PyObject* dt_nb_long(PyObject* a) *************** *** 152,158 **** 0, /* nb_negative */ 0, /* nb_positive */ 0, /* nb_absolute */ ! 0, /* nb_nonzero */ 0, /* nb_invert */ 0, /* nb_lshift */ 0, /* nb_rshift */ --- 154,160 ---- 0, /* nb_negative */ 0, /* nb_positive */ 0, /* nb_absolute */ ! dt_nb_nonzero, /* nb_nonzero */ 0, /* nb_invert */ 0, /* nb_lshift */ 0, /* nb_rshift */ _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From arb@connect.com.au Wed Mar 26 07:22:02 1997 From: arb@connect.com.au (Anthony Baxter) Date: Wed, 26 Mar 1997 18:22:02 +1100 Subject: [PYTHON DB-SIG] oracledb and thread safety and oracle 7.3 Message-ID: <199703260722.SAA24925@jambu.off.connect.com.au> For a task I have here, I really need to have the oracle module running thread safe, using the thread safe opinit()/olog() code. Now this seems to require Oracle 7.3, if my reading of the oracle documentation is correct. Should I make this a fork from the main oracledb code? #ifdef it? (it's likely to be significantly different under the hood, so #ifdefs could get messy). I'm also concerned about the possibilities for confusion that having two versions could produce. opinions anyone? Anthony _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From sona@giasbm01.vsnl.net.in Thu Mar 27 05:09:59 1997 From: sona@giasbm01.vsnl.net.in (MR. TUSHAR SURESHCHANDRA PAREKH) Date: Thu, 27 Mar 1997 10:39:59 +0530 (GMT+5:30) Subject: No subject Message-ID: Can anyone mail me which version of oracle works under linux AND oracledb python interface to oracle ? Thankx in advance. Regards, Tushar Parekh. _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From gstein@microsoft.com Thu Mar 27 05:54:16 1997 From: gstein@microsoft.com (Greg Stein) Date: Wed, 26 Mar 1997 21:54:16 -0800 Subject: [PYTHON DB-SIG] RE: Message-ID: <41135C785691CF11B73B00805FD4D2D702519F7E@RED-17-MSG.dns.microsoft.com> Oracle doesn't support Linux directly. You need to get the SCO version and run it using iBCS. I've never done it myself, but only heard that's what people have been doing. You should be able to find more information on the relevant Linux/Database web pages. -g -----Original Message----- From: MR. TUSHAR SURESHCHANDRA PAREKH [SMTP:sona@giasbm01.vsnl.net.in] Sent: Wednesday, March 26, 1997 9:10 PM To: db-sig@python.org Subject: Can anyone mail me which version of oracle works under linux AND oracledb python interface to oracle ? Thankx in advance. Regards, Tushar Parekh. _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________