[issue41815] SQLite: segfault if backup called on closed database
Peter McCormick
report at bugs.python.org
Sat Sep 19 23:22:12 EDT 2020
Peter McCormick <peter at pdmccormick.com> added the comment:
Updated sample script, thanks to @aeros for catching the omission:
```
import sqlite3
target = sqlite3.connect(':memory:')
source = sqlite3.connect(':memory:')
source.close()
source.backup(target)
```
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41815>
_______________________________________
More information about the Python-bugs-list
mailing list