Re: psycopg2da not properly casting arrays

Brian Sutherland <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Thu, Jun 05, 2008 at 10:01:34AM +0200, Federico Di Gregorio wrote:
> Il giorno gio, 05/06/2008 alle 09.48 +0200, Brian Sutherland ha scritto:
> > 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:
> 
> Sorry, I forgot to deactivate SVN after the switch to bzr. The right URL
> is:
> 
> http://initd.org/bazaar/psycopg/psycopg2/trunk

Ah!

Seems to be working great, at least my software's tests now pass.

> 
> federico
> 
> -- 
> Federico Di Gregorio                         http://people.initd.org/fog
> Debian GNU/Linux Developer                                [email protected]
> INIT.D Developer                                           fog-NGVKUo/i/[email protected]
>                         Ahr ahr ahr! E mo' me'e magno tutte! -- Er bieco



> _______________________________________________
> Psycopg mailing list
> Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
> http://lists.initd.org/mailman/listinfo/psycopg


-- 
Brian Sutherland
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.