← Back to team overview

launchpad-dev team mailing list archive

Re: Updating the Maverick and running Launchpad

 

On Mon, Sep 20, 2010 at 7:31 PM, Robert Collins
<robert.collins@xxxxxxxxxxxxx> wrote:
> I think the change to psycopg2 is dubious - python 2.x is really not a
> unicode happy playground: even its built in exceptions and tracebacks
> are not reliable at interoperating with unicode strings.
>
> I would:
>  - file a bug on maverick
>  - prep an SRU to rollback that patch
>
> I suspect that 95% (Not a Metric (tm)) of db using python programs are
> going to break with this change.

Oh, and a little more detail:
 - probably want an option to enforce it (programs that are safe can
then have the safety net)
 - python 3.x is -much- better in this regard and one definitely wants
unicode-only strings at that point.

-Rob



References