Re: psycopg2da not properly casting arrays
Brian Sutherland <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 30, 2008 at 12:40:46AM +0200, Federico Di Gregorio wrote: > Il giorno gio, 29/05/2008 alle 21.24 +0200, Brian Sutherland ha scritto: > > Hi, > > > > I've been having some problems with psycopg2da not properly casting > > arrays of TEXT to python objects. Basically they are cast to lists of > > strings rather than lists of unicode. > > I don't maintain psycopg2da myself so I don't know exactly what's > happening but your patch will surely make psycopg return unicode objects > for text arrays. Applied. (Please,checkout from trunk and test the > change.) Hmm, I can't find the commit in the trunk. I'm busy wondering if I have the right repository: Path: . URL: http://www.initd.org/svn/psycopg/psycopg2/trunk Repository Root: http://www.initd.org/svn/psycopg Repository UUID: f581f19b-c9e6-0310-bd56-e372eea7194d Revision: 955 Node Kind: directory Schedule: normal Last Changed Author: kobold Last Changed Rev: 949 Last Changed Date: 2008-04-09 19:49:55 +0200 (Wed, 09 Apr 2008) Seems like nothing in the logs, and the patch not applied... > > federico > > -- > Federico Di Gregorio http://people.initd.org/fog > Debian GNU/Linux Developer [email protected] > INIT.D Developer fog-NGVKUo/i/[email protected] > In some countries (e.g., Germany) even many brands of toilet paper have > format A6. [http://www.cl.cam.ac.uk/~mgk25/iso-paper.html] > _______________________________________________ > Psycopg mailing list > Psycopg-IAPFreCvJWPBWskQ1e/[email protected] > http://lists.initd.org/mailman/listinfo/psycopg -- Brian Sutherland