[New-bugs-announce] [issue33496] Accept Pathlib paths for sqlite file
devala
report at bugs.python.org
Mon May 14 10:24:22 EDT 2018
New submission from devala <augustz at augustz.com>:
I'd love to be able to pass pathlib paths to sqlite's connect
conn = sqlite3.connect(DB_FILE)
TypeError: argument 1 must be str
The workaround is not hard (str(DB_FILE), but reducing friction in using pathlib would be great.
----------
components: Library (Lib)
messages: 316508
nosy: devala
priority: normal
severity: normal
status: open
title: Accept Pathlib paths for sqlite file
type: enhancement
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33496>
_______________________________________
More information about the New-bugs-announce
mailing list