Menu

#382 [Python] The unicode keyword isn't supported in cursor() when using Python-3.x

open
nobody
None
5
2013-01-10
2013-01-10
Jira Trac
No

Run test case: test_CUBRIDdb.py

Traceback (most recent call last):
File test_CUBRIDdb.py, line 231, in test_execute
self._paraminsert(cur)
File test_CUBRIDdb.py, line 245, in _paraminsert
(Cooper's,)
File /home/hudson/apps/Python-3.0.1/lib/python3.0/site-packages/CUBRIDdb/cursors.py, line 63, in execute
self._bind_params(args)
File /home/hudson/apps/Python-3.0.1/lib/python3.0/site-packages/CUBRIDdb/cursors.py, line 44, in _bind_params
elif isinstance(args[i], unicode):
NameError: global name 'unicode' is not defined

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.