This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ghaering, jeremybanks, ned.deily
Date 2011-07-15.03:24:08
SpamBayes Score 7.6245925e-09
Marked as misclassified No
Message-id <1310700250.36.0.104080436214.issue12569@psf.upfronthosting.co.za>
In-reply-to
Content
What operating system platform and version are you seeing this behavior? Also can you report the versions of sqlite3 adapter and the sqlite3 library by executing the following in the interpreter?

>>> sqlite3.version
'2.6.0'
>>> sqlite3.sqlite_version
'3.6.12'

On Linux and OS X systems I've tested, rather than a segfault your test case causes an exception to be raised.

For Python 3.1.4:
"sqlite3.Warning: SQL is of wrong type. Must be string or unicode."

For Python 3.2.1
"UnicodeEncodeError: 'utf-8' codec can't encode character '\ud800' in position 14: surrogates not allowed"
History
Date User Action Args
2011-07-15 03:24:10ned.deilysetrecipients: + ned.deily, ghaering, jeremybanks
2011-07-15 03:24:10ned.deilysetmessageid: <1310700250.36.0.104080436214.issue12569@psf.upfronthosting.co.za>
2011-07-15 03:24:09ned.deilylinkissue12569 messages
2011-07-15 03:24:08ned.deilycreate