Subject cursor.execute fail when there are some param type of django.utils.safestring.SafeUnicode
Author Maximiliano Robaina
Hi,

I detect a problem in django-firebird implementation. Actually the
problem is with kinterbasedb.

When a cursor.execute has some param which is type of
django.utils.safestring.SafeUnicode class, kinterbasdb raise an
exception with the message:

python: _kiconversion_to_db.c:822:
_PyObject2XSQLVAR_check_range_SQL_CHARACTER: Assertion
`((((PyObject*)(py_s))->ob_type) == &PyString_Type)' failed.

You can see the SafeUnicode implementation here:

https://code.djangoproject.com/browser/django/trunk/django/utils/safestring.py


I can't figure out how it is working.
Any suggestion about how solve this?

Maxi.