New submission from STINNER Victor <victor.stin...@haypocalc.com>: sqlite.connect(":memory:").create_collation, "\uDC80", collation_cb) because _PyUnicode_AsString() returns NULL and error, and the result is not checked.
Attached patch fixes the crash. I didn't checked if the problem does also concern Python 2.x. ---------- components: Library (Lib) files: sqlite_collation-py3k.patch keywords: patch messages: 101468 nosy: haypo severity: normal status: open title: Crash in sqlite3.create_collation() with a string non encodable to utf8 type: crash versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file16616/sqlite_collation-py3k.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8195> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com