* Christian Ullrich wrote on Wednesday, 2007-06-20:
Back in March, someone reported that the python interface didn't work
correctly with python 2.5, in that raised exceptions were missing all
information about the actual error (error codes, messages).
I think I may just have fixed it myself
Back in March, someone reported that the python interface didn't work
correctly with python 2.5, in that raised exceptions were missing all
information about the actual error (error codes, messages).
Is there any news about when this might be fixed?
--
Christian Ullrich . E-Mails sollten
'errorCode'
It looks as if setting attributes of exception objects is no longer possible
with the standard C-API. Exceptions are 'new style classes' in Python 2.5 and
seem to require a different set of APIs. I'm looking into it and will provide
updated modules as soon as I have a solution.
Daniel
hi,
Windows XP
python: 2.5
maxdb: 7.5
if I try:
import sys
import sdb.sql
#
# Connect to the database instance
# ---
database_user = sys.argv [1]
database_user_password = sys.argv [2]
database_name = sys.argv [3]
session = sdb.sql.connect