Issue 33496: Accept Pathlib paths for sqlite file (original) (raw)
Issue33496
Created on 2018-05-14 14:24 by devala, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg316508 - (view) | Author: (devala) | Date: 2018-05-14 14:24 |
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. | ||
msg316719 - (view) | Author: John Reese (jreese) * | Date: 2018-05-15 20:32 |
Looks like this is already changed for 3.7: see commit a22a127458 | ||
msg316756 - (view) | Author: (devala) | Date: 2018-05-16 02:54 |
Resolved in 3.7. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:00 | admin | set | github: 77677 |
2018-05-16 02:54:12 | devala | set | status: open -> closedresolution: not a bugmessages: + stage: resolved |
2018-05-15 20:32:55 | jreese | set | messages: + |
2018-05-15 17:55:12 | jreese | set | nosy: + jreese |
2018-05-14 14:24:22 | devala | create |