]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport of Tim's checkin 2.178:
authorThomas Wouters <thomas@python.org>
Wed, 11 Jul 2001 12:03:44 +0000 (12:03 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 11 Jul 2001 12:03:44 +0000 (12:03 +0000)
commitd4a75dc44c39c232f10dcfd549bad1de5e5fdd7b
tree2949b131f1210bc354276508233fe30c34fa92a2
parente27a8b97669f34a3bf50af8812fd12b346ecd17b
Backport of Tim's checkin 2.178:

SF bug #438295: [Windows] __init__.py cause strange behavior

Probable fix (the bug report doesn't have enough info to say for sure).
find_init_module():  Insist on a case-sensitive match for __init__ files.
Given __INIT__.PY instead, find_init_module() thought that was fine, but
the later attempt to do find_module("__INIT__.PY") didn't and its caller
silently suppressed the resulting ImportError.  Now find_init_module()
refuses to accept __INIT__.PY to begin with.
Python/import.c