New submission from devala :
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
<https://bugs.python.org/issue33496>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com