Re: A list of open points in the documentation
"Karsten Hilbert" <[email protected]> Sat, 13 Feb 2010 11:02:02 +0100
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
> > > Where do ENUMs fit in ? > > > > Good question. I don't have the slightest idea of how to map them, right > > now. > > Maybe they could map to frozenset ? Or perhaps to OrderedSet ? http://code.activestate.com/recipes/576694/ (because the one important difference between PostgreSQL ENUM and Python set seems to be order) Karsten -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser