Hi Alex,

Alex Nitz <alex.n...@ligo.org> writes:
> I've noticed that a change made several months ago to the string error
> handling isn't compatible with versions of python earlier than 2.7.
>
> The following fails on python versions < 2.7.
>
> s = "test string"
> s.decode("UTF8", error='replace')
>
> as keywords were not supported at the time. I've attached a simple patch
> that makes these positional arguments.
>
> as in
>
> s.decode("UTF8", "replace")

Applied. Thanks for the patch.

Andreas

Attachment: pgpkMpDaxJWaG.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to