Here is the test code for creating the database and the python code:
{code}
CREATE TABLE tst(
a integer,
b datetime
);
INSERT INTO tst values (10, SYSDATETIME);
{code}
{code}
import CUBRIDdb
conn = CUBRIDdb.connect('CUBRID:localhost:30000:demodb', 'dba', '')
cur = conn.cursor()
cur.execute(SELECT * from tst);
row = cur.fetchone()
print type(row[0])
print type(row[1])
cur.close()
{code}
The type returned for the DATETIME field is (type 'str') which is incorrect. It should be returned as datetime.datetime object.
Same goes for TIME or DATE data types which should be returned as datetime.time and datetime.date.