[issue24887] Sqlite3 has no option to provide open flags

Berker Peksag report at bugs.python.org
Sun Mar 27 10:11:36 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue24887>
_______________________________________


More information about the Python-bugs-list mailing list