Discussion:
Martin von Loewis: Re: Quest: Re: Locale breakage on alpha
Guido van Rossum
2003-03-18 12:21:30 UTC
Permalink
------- Forwarded Message

Date: Tue, 18 Mar 2003 07:49:18 +0100
From: Martin von Loewis <***@informatik.hu-berlin.de>
To: ***@python.org (Guido van Rossum)
cc: ***@informatik.hu-berlin.de, ***@lemburg.com
Subject: Re: Quest: Re: [snake-farm] Locale breakage on alpha
Are you following the snake-farm list? This problem seems in your
area...
No, I'm not.
TESTFN_ENCODED = TESTFN_UNICODE.encode(TESTFN_ENCODING)
# Either the file system encoding is None, or the file name
# cannot be encoded in the file system encoding.
raise TestSkipped("No Unicode filesystem semantics on this platform.")
Maybe the UnicodeEncodeError should be caught here instead (in
addition)?
Indeed, UnicodeError should be caught instead of ImportError.
LookupError is not supposed to happen, since Python verifies at startup
that the encoding is supported.

Regards,
Martin

------- End of Forwarded Message

Loading...