[issue21975] Using pickled/unpickled sqlite3.Row results in segfault rather than exception
Serhiy Storchaka
report at bugs.python.org
Mon Jul 14 13:44:06 CEST 2014
Serhiy Storchaka added the comment:
The issue is not in pickling/unpickling, but in sqlite3.Row.__new__ which creates object in invalid state. Simple example:
>>> import sqlite3
>>> r = sqlite3.Row.__new__(sqlite3.Row)
>>> len(r)
Segmentation fault (core dumped)
----------
assignee: -> serhiy.storchaka
nosy: +serhiy.storchaka
stage: patch review ->
versions: +Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21975>
_______________________________________
More information about the Python-bugs-list
mailing list