[Python-bugs-list] [ python-Bugs-440017 ] SystemError when importing packages
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 10 Jul 2001 04:53:54 -0700
Bugs item #440017, was opened at 2001-07-10 04:53
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=440017&group_id=5470
Category: Python Interpreter Core
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: M.-A. Lemburg (lemburg)
Assigned to: Nobody/Anonymous (nobody)
Summary: SystemError when importing packages
Initial Comment:
Python 2.1 (haven't checked older versions) on Windows has a problem with importing packages with a
case mismatch in the name, e.g. trying to import the package "encodings" using the name "Encodings"
gives you the following error:
>>> import Encodings
Traceback (most recent call last):
File "<pyshell#1>", line 1, in ?
import Encodings
SystemError: NULL result without error in call_object
>>>
It should ideally output:
ImportError: No module named Encodings (case-mismatch)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=440017&group_id=5470