Message334746
To reproduce, run the following program:
import sqlite3
conn = sqlite3.connect(':memory:')
conn.row_factory = sqlite3.Row
print(conn.execute("SELECT 'John' AS name, 42 AS salary").fetchone())
It prints '<sqlite3.Row object at 0xffffffffffffff>'.
It would be nice if it printed something like "sqlite3.Row(name='Smith', saraly=42)" instead.
It wouldn't satisfy the 'eval(repr(x)) == x' property, but it's still better than nothing.
If the maintainers agree this is useful, I'll implement. |
|
Date |
User |
Action |
Args |
2019-02-02 13:02:20 | vlad | set | recipients:
+ vlad |
2019-02-02 13:02:16 | vlad | set | messageid: <1549112536.04.0.744689521798.issue35889@roundup.psfhosted.org> |
2019-02-02 13:02:15 | vlad | link | issue35889 messages |
2019-02-02 13:02:15 | vlad | create | |
|