[MERGE] Before actually using encoding need to check that Python has corresponding codec

Alexander Belchenko bialix at ukr.net
Wed Dec 20 12:56:45 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Bentley пишет:
> Aaron Bentley has voted +1 (conditional).
> Status is now: Conditionally approved
> Comment:
> This seems reasonable, but lacks a test case.  It seems to me that it would be easy to write one.  Am I wrong about that?

I don't know is you are right or wrong here.

It seems possible with duck typing.
But testing require some refactoring of existing code,
especially for function get_user_encoding,
because it uses caching.

But anyway, I'll take the challenge and will write the tests.

Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFiTMNzYr338mxwCURAroBAJ91BM8kDGaPUIqJXruLg2hkAK/c2gCffP2q
oNKWROdYmzOxWXfGfkGRMNo=
=XC3x
-----END PGP SIGNATURE-----





More information about the bazaar mailing list