This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients berker.peksag, ghaering, rhettinger, terry.reedy, vlad
Date 2019-02-14.16:33:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550162028.64.0.243922317801.issue35889@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-14 16:33:48berker.peksagsetrecipients: + berker.peksag, rhettinger, terry.reedy, ghaering, vlad
2019-02-14 16:33:48berker.peksagsetmessageid: <1550162028.64.0.243922317801.issue35889@roundup.psfhosted.org>
2019-02-14 16:33:48berker.peksaglinkissue35889 messages
2019-02-14 16:33:48berker.peksagcreate