Message10323
Another interesting note -- Using the Ubuntu provided OpenJDK 1.7 build, things work fine:
root@q1:/tmp# /usr/bin/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.7.0_79
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getpid()
21237
>>> quit()
VS Oracle's 1.8 update 60 JDK:
root@q1:/tmp# /tmp/jdk1.8.0_60/bin/java -jar /tmp/jython-2.7.0.jar
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_60
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() |
|
Date |
User |
Action |
Args |
2015-10-07 20:16:44 | mishikal@yahoo.com | set | messageid: <1444249004.55.0.151577484728.issue2405@psf.upfronthosting.co.za> |
2015-10-07 20:16:44 | mishikal@yahoo.com | set | recipients:
+ mishikal@yahoo.com, zyasoft, darjus |
2015-10-07 20:16:44 | mishikal@yahoo.com | link | issue2405 messages |
2015-10-07 20:16:44 | mishikal@yahoo.com | create | |
|