Berker Peksag <berker.pek...@gmail.com> added the comment:

While the proposed formats look nice for artificial inputs, the Row object can 
have more than two fields and the value of a field can be much longer than 
that. So, in practice the new repr can make the situation worse than the 
current repr.

I think wrapping the output of row.keys() 
(https://docs.python.org/3/library/sqlite3.html#sqlite3.Row.keys) with 
something like reprlib.recursive_repr() would work better for Row objects with 
several fields.

----------
nosy: +berker.peksag

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35889>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to