[Patches] [ python-Patches-459381 ] Unambiguous import for encodings
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 28 Jul 2002 04:29:27 -0700
Patches item #459381, was opened at 2001-09-07 03:01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=459381&group_id=5470
Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Mikhail Zabaluev (mzabaluev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unambiguous import for encodings
Initial Comment:
The __import__ call in encodings/__init__.py does not
specify module hierarchy explicitly. This results in
misleading error tracebacks (try
"codecs.lookup('codecs')"). Worse, it results in an
error when one is trying to lookup a codec and the
encoding's name fires some top-level module, e.g
'base64', despite that a codec for this encoding may
actually be registered in the system.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-07-28 13:29
Message:
Logged In: YES
user_id=21627
It appears that this patch has been superceded by #571603;
closing this one as a duplicate.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-01-19 11:01
Message:
Logged In: YES
user_id=21627
I'm in favour of integrating this patch, even though it
means that some codecs that are currently found won't be
found anymore. Authors of such codecs would need to register
a search function.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=459381&group_id=5470