don't append the bytecode suffix to the source suffixes global
diff --git a/Lib/imp.py b/Lib/imp.py
index 3116347..717b6a4 100644
--- a/Lib/imp.py
+++ b/Lib/imp.py
@@ -126,8 +126,7 @@
# XXX deprecate
def load_package(name, path):
if os.path.isdir(path):
- extensions = _bootstrap._SOURCE_SUFFIXES
- extensions += [_bootstrap._BYTECODE_SUFFIX]
+ extensions = _bootstrap._SOURCE_SUFFIXES + [_bootstrap._BYTECODE_SUFFIX]
for extension in extensions:
path = os.path.join(path, '__init__'+extension)
if os.path.exists(path):