Re: Fail codecs.lookup() on 'mbcs' and 'tactis'

2005-08-04 Thread jepler
On Thu, Aug 04, 2005 at 03:59:01PM +0100, Richard Brodie wrote: > I suppose, for consistency, it should ideally raise LookupError, though Maybe so. If that was the poster's point, then I completely missed it. Jeff pgpUjJySHoMrY.pgp Description: PGP signature -- http://mail.python.org/mailman/

Re: Fail codecs.lookup() on 'mbcs' and 'tactis'

2005-08-04 Thread Richard Brodie
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I don't know what 'tactis' is, but 'mbcs' is not a portable character set > name. > It's a special character set name on win32, which refers to some > system-specific > multibyte character set. > > I don't think these "failures" are

Re: Fail codecs.lookup() on 'mbcs' and 'tactis'

2005-08-04 Thread jepler
I don't know what 'tactis' is, but 'mbcs' is not a portable character set name. It's a special character set name on win32, which refers to some system-specific multibyte character set. I don't think these "failures" are a Python bug. Jeff pgp1JQQPcwk0q.pgp Description: PGP signature -- http:/

Fail codecs.lookup() on 'mbcs' and 'tactis'

2005-08-04 Thread Paul Watson
$ python Python 2.4.1 (#1, May 16 2005, 15:19:29) [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import codecs >>> codecs.lookup('ascii') (, , , ) >>> codecs.lookup('mbcs') Traceback (most recent call last): File ""