Message370180
I think this is a good idea. Proof-of-concept implementation added (invoke REPL with `python -m sqlite3`).
Possible improvements:
- Use sqlite3.complete_statement()
- Support Python syntax as well. For example:
>>> select * from t
>>> res = _
>>> print(res[0]) |
|
Date |
User |
Action |
Args |
2020-05-28 09:17:47 | erlendaasland | set | recipients:
+ erlendaasland, rhettinger, r.david.murray, serhiy.storchaka, Big Stone |
2020-05-28 09:17:47 | erlendaasland | set | messageid: <1590657467.91.0.629402820762.issue33436@roundup.psfhosted.org> |
2020-05-28 09:17:47 | erlendaasland | link | issue33436 messages |
2020-05-28 09:17:47 | erlendaasland | create | |
|