This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author devala
Recipients devala
Date 2018-05-14.14:24:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526307862.09.0.682650639539.issue33496@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-05-14 14:24:22devalasetrecipients: + devala
2018-05-14 14:24:22devalasetmessageid: <1526307862.09.0.682650639539.issue33496@psf.upfronthosting.co.za>
2018-05-14 14:24:22devalalinkissue33496 messages
2018-05-14 14:24:22devalacreate