[Python-bugs-list] [ python-Bugs-615013 ] LookupError should include encoding name
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 26 Sep 2002 09:04:43 -0700
Bugs item #615013, was opened at 2002-09-26 17:28
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=615013&group_id=5470
Category: Unicode
Group: Python 2.2.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Martin v. Löwis (loewis)
Summary: LookupError should include encoding name
Initial Comment:
>>> unicode('abc', 'spooge')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
LookupError: unknown encoding
The LookupError exception should include, and print,
the encoding that was unknown.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-09-26 18:04
Message:
Logged In: YES
user_id=21627
Fixed in Python/codecs.c 2.17 and 2.13.26.1;
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=615013&group_id=5470