Named columns don't work in Python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dee |
Fix Released
|
Undecided
|
Unassigned | ||
dee (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using Python3, model.append(
File "unity_
self.
File "unity_
result_
File "/usr/lib/
return self.append_row (self._
File "/usr/lib/
for col_name, arg in kwargs.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
It works fine using Python2.
Attached, a scope daemon to replicate the issue.
(compatible with both Python versions)
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Paweł Stołowski (community): Approve
-
Diff: 340 lines (+47/-12)23 files modifiedbindings/python/Dee.py (+3/-3)
examples/master-model.c (+2/-0)
examples/peers.c (+2/-0)
examples/slave-model.c (+2/-0)
tests/model-helper-add3rows.c (+2/-0)
tests/model-helper-append1.c (+2/-0)
tests/model-helper-change3rows.c (+2/-0)
tests/model-helper-clear3add5.c (+2/-0)
tests/model-helper-clear3rows.c (+2/-0)
tests/model-helper-clear6rows.c (+2/-0)
tests/model-helper-clone3rows-meta.c (+2/-1)
tests/model-helper-clone3rows.c (+2/-1)
tests/model-helper-insert1row.c (+2/-0)
tests/model-helper-introspect.c (+2/-1)
tests/model-helper-remove3rows.c (+2/-1)
tests/model-helper-replace.c (+2/-1)
tests/model-helper-resync3rows.c (+2/-1)
tests/model-helper-schemaless.c (+2/-1)
tests/peer-helper-1peer.c (+2/-1)
tests/server-helper-client.c (+2/-1)
tests/test-benchmark.c (+2/-0)
tests/test-dee.c (+2/-0)
tools/dee-tool.c (+2/-0)
Changed in dee: | |
status: | New → Fix Committed |
Changed in dee: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package dee - 1.2.0daily13. 02.07-0ubuntu1
--------------- 02.07-0ubuntu1) raring; urgency=low
dee (1.2.0daily13.
[ Michal Hruby ]
* Named columns don't work in Python3 (LP: #1100303)
[ Automatic PS uploader ]
* Automatic snapshot from revision 400
-- Automatic PS uploader <email address hidden> Thu, 07 Feb 2013 06:19:07 +0000