Update of /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29450/src/org/python/pydev/core
Modified Files:
ICompletionState.java
Log Message:
Fixed recursion while completing in numpy situation where compiled file needed a later reference to a source.
Index: ICompletionState.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/ICompletionState.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** ICompletionState.java 25 Jan 2008 01:53:49 -0000 1.20
--- ICompletionState.java 4 May 2008 16:48:39 -0000 1.21
***************
*** 68,71 ****
--- 68,80 ----
void checkFindResolveImportMemory(IToken tok) throws CompletionRecursionException;
+
+ /**
+ * Unlike other checks, it won't throw an exception, but'll see if the given module was already checked for
+ * a given token (this happens when we're looking for a token that has been found in a compiled module and
+ * we want to translate to an actual position... but if we loop for some reason, it has to be stopped and
+ * the actual compiled module is the source of the definition).
+ */
+ boolean canStillCheckFindSourceFromCompiled(IModule mod, String tok);
+
boolean getIsInCalltip();
|