Hi all,

I am compiling MyPyFile.py file using jythonc which has dependencies with other files.
These .py files are written in Cpython and using the version 2.2.
As per Documentation yield is a key word in python 2.2.Also Jython 2.2.1 supports all features of Python 2.2 as per documentation.
Can any one tell me regarding the following exception?
 
processing MyPyFile
Traceback (innermost last):
  File "C:\jythonFresh\Tools\jythonc\jythonc.py", line 5, in ?
  File "C:\jythonFresh\Tools\jythonc\main.py", line 308, in main
  File "C:\jythonFresh\Tools\jythonc\main.py", line 229, in doCompile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 217, in compile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 282, in addDependencies
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 195, in compilefile
  File "C:\jythonFresh\Tools\jythonc\compile.py", line 209, in compile
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 1080, in execstrin
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 297, in parse
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 343, in visitModul
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 312, in suite
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 1058, in visitClas
  File "C:\jythonFresh\Tools\jythonc\ObjectFactory.py", line 46, in makeClass
  File "C:\jythonFresh\Tools\jythonc\ObjectFactory.py", line 43, in __init__
  File "C:\jythonFresh\Tools\jythonc\ObjectFactory.py", line 274, in makeCode
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 297, in parse
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 346, in visitSuite
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 312, in suite
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 1043, in visitFunc
  File "C:\jythonFresh\Tools\jythonc\ObjectFactory.py", line 35, in makeFunction
  File "C:\jythonFresh\Tools\jythonc\ObjectFactory.py", line 145, in getNew
  File "C:\jythonFresh\Tools\jythonc\ObjectFactory.py", line 165, in makeCode
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 297, in parse
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 346, in visitSuite
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 312, in suite
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 1027, in visitFor
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 312, in suite
  File "C:\jythonFresh\Tools\jythonc\SrcGenCompiler.py", line 1083, in unhandled
Exception: Unhandled node Yield[value=Name[id=obj, ctx=Load]]

Thanks in advance.

Regards,

Prashant golash