Author osvenskan
Recipients
Date 2006-03-09.00:55:01
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
A very minor inconsistency -- when I call unicode()
with an encoding that Python doesn't know about, it
usually returns a lookup error (e.g LookupError:
unknown encoding: utf99). But when the encoding begins
with a dot (ASCII 0x2e), Python instead gives a
ValueError: Empty module name. It is certainly correct
in raising an error, but it should raise a lookup
error, not a value error.

I've recreated this under Python 2.4.1/FreeBSD 6.0 and
2.3/OS X. See attachment for recreation steps.

History
Date User Action Args
2007-08-23 14:38:18adminlinkissue1446043 messages
2007-08-23 14:38:18admincreate