Crash report
What happened?
import sqlite3
db = sqlite3.connect(":memory:")
del db.row_factory
db.execute("test")
-> zsh: segmentation fault python3
In connection.c, the row_factory is compared against Py_None and incref'd, but deleting it sets it to null, resulting in Py_INCREF(NULL)
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Output from running 'python -VV' on the command line:
No response
Crash report
What happened?
->
zsh: segmentation fault python3In connection.c, the row_factory is compared against Py_None and incref'd, but deleting it sets it to null, resulting in
Py_INCREF(NULL)CPython versions tested on:
3.14
Operating systems tested on:
macOS
Output from running 'python -VV' on the command line:
No response