Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

DictRow should behave like an OrderedDict?

#177

I think RowDict should behave like an OrderedDict. In particular, I would expect the following to be True:

[row_dict[k] for k in row_dict.keys()] == list(row_dict)

Reported by Laurent Fasnacht · August 18th, 2013 @ 02:14 PM

State: new
Milestone: psycopg3
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo
    • Tag set to feature

    It's a sort of reasonable expectation, yes. If you provide the implementation for it we would merge it to devel. The best way to contribute is to open a feature branch on a github clone.

    Current devel supports Python from 2.5 to 3.3. The branch should include tests and documentation.

    I expect the new feature to not slow down the current implementation.

    August 20th, 2013 @ 08:55 AM

  2. Daniele Varrazzo
    Daniele Varrazzo
    • Milestone set to psycopg3

    May 5th, 2014 @ 11:06 PM