diff options
| author | R David Murray <rdmurray@bitdance.com> | 2013-01-10 11:04:09 -0500 |
|---|---|---|
| committer | R David Murray <rdmurray@bitdance.com> | 2013-01-10 11:04:09 -0500 |
| commit | b52312923bee35b86fc072ec546cc3e588ae64c9 (patch) | |
| tree | 621c1002f13493da15de8719e084ac2d0775cf11 /Misc | |
| parent | 78470b4c3a423fb304438be269afbbdd2247d676 (diff) | |
| download | cpython-git-b52312923bee35b86fc072ec546cc3e588ae64c9.tar.gz | |
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall. But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception. The
sorting is still a nice idea, so the patch moves the sort into the sql.
Fix and test by Peter Otten.
Diffstat (limited to 'Misc')
| -rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -199,6 +199,10 @@ Core and Builtins Library ------- +- Issue #15545: Fix regression in sqlite3's iterdump method where it was + failing if the connection used a row factory (such as sqlite3.Row) that + produced unsortable objects. (Regression was introduced by fix for 9750). + - Issue #16491: IDLE now prints chained exception tracebacks. - Issue #16828: Fix error incorrectly raised by bz2.compress(''). Patch by |
