Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6131905
By: fabioz

Actually, exec does have a special meaning, and it's not valid in the grammar
for python... so, it seems that the Jython grammar has a 'bug' that allows you
to do that... Pydev implemented the grammar specification directly without 
special
treatment for Jython/Python... I'm not sure if there should be special treatment
for the Jython grammar not conforming to Python.

If you need to access it and want to remain compatible with the python grammar,
you should do: exc = getattr(java.lang.Runtime.getRuntime(), 'exec')

Cheers,

Fabio

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to