OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
.execute() method segfault with python2.3

From: Jean-Michel OLTRA (jm.oltraespinasse.net)
Date: Sat Mar 13 2004 - 15:27:24 CST


        bonjour,

This script:

#!/usr/bin/python2.3

import sapdbapi

conn = sapdbapi.Connection ('JM', 'PASSWD', 'TEST')
curs = conn.cursor ()
try:
    curs.execute ("INSERT INTO MISEBAS \
           (IDANIMAL,DATEMB,NBCHEVREAUX,OBSERVATIONS) \
           VALUES \
           (:idanimal,:datemb,:nbchevreaux,:observations)", \
           (180,'20040311',1,''))
    conn.commit ()
finally:
    curs.close ()
    conn.close ()

segfault, no core dumped

But with python2.2 the statement is successfully executed.

What's the matter whith it ?

--
jm

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb