On Mon, Sep 20, 2010 at 7:31 PM, Robert Collins
<[email protected]> 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

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to