1
0
forked from VimPlug/jedi

fixed some evil bugs in the import mechanism and even worse: In helpers.fast_parent_copy.

This commit is contained in:
David Halter
2012-10-22 17:22:44 +02:00
parent 99739754ef
commit 197c2f642b
7 changed files with 26 additions and 19 deletions

View File

@@ -234,7 +234,7 @@ def sys_path_with_modifications(module):
try:
possible_stmts = module.used_names['path']
except KeyError:
return list(builtin.module_find_path)
return builtin.module_find_path
sys_path = list(builtin.module_find_path) # copy
for p in possible_stmts: