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

@@ -90,7 +90,7 @@ class Parser(CachedModule):
name = name.rpartition('.')[0] # cut file type (normally .so)
super(Parser, self).__init__(path=path, name=name)
self.sys_path = sys_path
self.sys_path = list(sys_path)
self._module = None
@property