R. David Murray added the comment:
For the record, this is a regression introduced by the fix for issue 9750. I
plan to commit the fix shortly, thanks for the report and patch.
--
nosy: +r.david.murray
stage: - commit review
type: crash - behavior
versions: +Python 2.7, Python 3.3,
Roundup Robot added the comment:
New changeset 2cdb599172ab by R David Murray in branch '3.2':
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
http://hg.python.org/cpython/rev/2cdb599172ab
New changeset 6a85894c428f by R David Murray in branch '3.3':
merge #15545: fix
R. David Murray added the comment:
Peter, I see you've made contributions before, but you don't show as having a
contributor agreement on file according to the tracker. Have you sent one in?
If not, would you, please?
Thanks again for the fix.
--
components: +Library (Lib) -None
Pierre Le Marre added the comment:
Thanks for the patch. In which version will be your patch integrated?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15545
___
Pierre Le Marre added the comment:
By the way, this issue does not appear with Python 3.2.2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15545
___
Peter Otten added the comment:
Here's a minimal fix that modifies the sql in sqlite3.dump._iterdump() to sort
the tables by name. It is then no longer necessary to sort the resultset in
Python for the unit tests to pass.
--
keywords: +patch
nosy: +peter.otten
Added file:
Changes by Pierre Le Marre lema...@eifer.org:
--
components: None
nosy: plemarre
priority: normal
severity: normal
status: open
title: sqlite3.Connection.iterdump() does not work with row_factory =
sqlite3.Row
type: crash
versions: Python 3.2
___
New submission from Martin v. Löwis:
Can you please elaborate? Structure your report as follows:
1. this is what I did
2. this is what happened
3. this is what should have happened instead.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
Pierre Le Marre added the comment:
I use Python 3.2.3 on GNU/Linux 64bits (openSUSE 12.2).
I have created an in-memory connection with the following code:
conn = sqlite3.connect(:memory:, detect_types=sqlite3.PARSE_DECLTYPES,
check_same_thread=False)
conn.row_factory = sqlite3.Row
Then I have