[issue33496] Accept Pathlib paths for sqlite file

2018-05-14 Thread devala

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



[issue33496] Accept Pathlib paths for sqlite file

2018-05-15 Thread devala

devala  added the comment:

Resolved in 3.7.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
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