Message10318

Author mishikal@yahoo.com
Recipients darjus, mishikal@yahoo.com, zyasoft
Date 2015-10-07.16:16:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444234618.11.0.363166945695.issue2405@psf.upfronthosting.co.za>
In-reply-to
Content
zimbra@q1:~$ java -jar /tmp/jython-2.7.0.jar
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0-internal
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getpid()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'getpid'
>>> quit()

zimbra@q1:~$ java -jar /tmp/jython-2.7.0b3.jar
Jython 2.7b3 (default:e81256215fb0, Aug 4 2014, 02:39:51)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0-internal
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getpid()
25298
>>> quit()

I fail to see what Oracle's Java build vs OpenJDK has to do with it.  It clearly works fine with OpenJDK in 2.7.0 beta3, and not in any later Jython standalone build.  I'll certainly give it a shot however.
History
Date User Action Args
2015-10-07 16:16:58mishikal@yahoo.comsetmessageid: <1444234618.11.0.363166945695.issue2405@psf.upfronthosting.co.za>
2015-10-07 16:16:58mishikal@yahoo.comsetrecipients: + mishikal@yahoo.com, zyasoft, darjus
2015-10-07 16:16:58mishikal@yahoo.comlinkissue2405 messages
2015-10-07 16:16:57mishikal@yahoo.comcreate