[issue35272] sqlite3 get the connected database url

2019-03-31 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35272] sqlite3 get the connected database url

2018-11-18 Thread Muhammed Alkan
Muhammed Alkan added the comment: The use case could be - Using it to check if you're connected to correct database (as you know the mutability could change the connection) - Getting the name, helping the developers while debugging. - No more reasons :P --

[issue35272] sqlite3 get the connected database url

2018-11-18 Thread Berker Peksag
Berker Peksag added the comment: Just to be sure, what do you want to do is import sqlite3 conn = sqlite3.connect("foo.db") assert conn.database_path == "foo.db" right? I don't think that's something worth to expose in the Connection object. What's your use case? --

[issue35272] sqlite3 get the connected database url

2018-11-18 Thread DamlaAltun
DamlaAltun added the comment: Yeah, that would be great enhancement -- nosy: +DamlaAltun ___ Python tracker ___ ___

[issue35272] sqlite3 get the connected database url

2018-11-18 Thread Muhammed Alkan
New submission from Muhammed Alkan : A feature for to get the connected database path or URL from connection object (sqlite3.Connection). -- messages: 330047 nosy: berker.peksag, ghaering, midnio priority: normal severity: normal status: open title: sqlite3 get the connected database