Berker Peksag added the comment:
URI filename support has been added in f13bb1e40fbc (Python 3.4+).
db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)
Here is a patch that adds a new flags parameter to sqlite3.connect().
----------
dependencies: -Migrate sqlite3 module to _v2 API to enhance performance
nosy: +berker.peksag
stage: needs patch -> patch review
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24887>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com