The following forum message was posted by mrodent at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4542495:
this is quite irritating: just installed PyDev for Jython on Eclipse. "sys" is listed as one of the "forced builtins" but when I try to write a simple prog using sys I get "Undefined variable: sys". + if I go Ctrl-Space to bring up the builtins in a .py prog page I get a list of builtins which does NOT contain "sys". This is worked around by going "import sys". In the book "Definitive Guide to Jython" covering this configuration of Eclipse/PyDev/Jython it says "PyDev will automatically detect the default, global sys.path entries. PyDev always infer [sic] the right values...". Famous last words. What does it mean by "global sys.path" entries anyway? In Eclipse? In my system? And is this likely to be the cause of the prob? NB 1) dir jython2.5.2 (where we find jython.jar) is on my system's PATH 2) specs: WXP, jython 2.5.2, PyDev 2.0.0, Java 1.6.0, Eclipse "Helios" (3.6.1) thanks for any help ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users