Re: Jython 2.7.0 release standalone jar utterly broken
Quanah Gibson-Mount <[email protected]>
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <ACCEAFB13429075B8473B3F3@[192.168.1.9]> |
--On Thursday, September 24, 2015 3:14 PM -0700 Quanah Gibson-Mount <[email protected]> wrote: > Using the Jython 2.7.0 standalone jar, it is clearly utterly broken and > missing a ton of previously available functions: > >>>> os.getgid() > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > AttributeError: 'module' object has no attribute 'getgid' >>>> os.getppid() > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > AttributeError: 'module' object has no attribute 'getppid' > > > vs 2.5.2: > >>>> os.getgid() > 999 >>>> os.getppid() > 21334 > > as well as os.getpid() as noted in <http://bugs.jython.org/issue2405>. > > There could well be other basic functionality bits missing, but it seems > something was overlooked in releasing Jython 2.7. Same breakage exists in 2.7.1 BETA as well: Jython 2.7.1 (default:7ebdc6c80d55, Sep 11 2015, 01:50:57) [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' --Quanah -- Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration ------------------------------------------------------------------------------