This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 20090106034821) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: GUEST: Added Mercurial as a project with existing sources. itsadok: first time task scanning rombeh: when indexing PYTHON_PATH GUEST: Task scanning on first creation of python project with existing sources. Stacktrace: org.python.antlr.ParseException: 'return' with argument inside generator at org.netbeans.modules.python.editor.scopes.ScopeInfo.defineAsGenerator(ScopeInfo.java:563) at org.netbeans.modules.python.editor.scopes.ScopesCompiler.visitYield(ScopesCompiler.java:568) at org.python.antlr.ast.Yield.accept(Yield.java:116) at org.python.antlr.ast.Expr.traverse(Expr.java:121) at org.python.antlr.Visitor.traverse(Visitor.java:12) at org.netbeans.modules.python.editor.scopes.ScopesCompiler.traverse(ScopesCompiler.java:98)
Created attachment 75472 [details] stacktrace
Unable to replicate anomaly. Was probably fixed long, long ago. If not, was certainly fixed by porting Python Editor APIs from GSF to CSL. http://hg.netbeans.org/main/contrib/rev/94fd635a7eb3