Opened 4 years ago

Last modified 4 years ago

#26702 closed enhancement

Py3: Fix database module for python3 — at Version 2

Reported by: vklein Owned by:
Priority: major Milestone: sage-8.5
Component: python3 Keywords:
Cc: Merged in:
Authors: Vincent Klein Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by vklein)

In method show use a select * which give the column list with default order.
The default order being defined by the CREATE TABLE sql statement.

Given that the table_skeleton use a dict, we cannot predict the order of columns in the table.

In this ticket i fixed the doctests using an OrderedDict? instead of dict.

Change History (2)

comment:1 Changed 4 years ago by vklein

  • Description modified (diff)

comment:2 Changed 4 years ago by vklein

  • Description modified (diff)
Note: See TracTickets for help on using tickets.