commit | a1fe1f8dcfd43059c38b1493ec67af06fd2afe7f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Sep 23 18:59:08 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Sep 23 18:59:08 2011 +0200 |
tree | e6998aa6681a95508a4f4f6dafd9aef6f9d43ec3 | |
parent | 92c144ee72d4ab488ec0a9d50cb78dc739c68069 [diff] | |
parent | 53ffdc53bf0500e402682d1459a9a8d06573664c [diff] |
Merge 3.2: Issue #7732: Don't open a directory as a file anymore while importing a module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead.