Re: Building Jython3

Jeff Allen <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <[email protected]>
I found the same problems and fixed them too. And one that prevents me 
compiling on Windows. In the case of the "from __future__" problem I 
solved it differently.

I will open a PR for this as a way of exercising the CPython process 
(see thread about that). It will conflict with the new tip, but that's 
ok because resolving merge conflicts is also a use case to learn. I have 
to do this slowly, however, with the Git Book and dev guide open!

Jeff

Jeff Allen

On 31/05/2017 01:50, [email protected] wrote:
> Starting a new thread, and including Isaiah Peng in case he has some
> insights. Hi Isaiah! We are starting to discuss how to make the
> Jython3 sandbox the main line for development after the Jython 2.7.1
> release.
>
> On Tue, May 30, 2017 at 6:39 AM, Jeff Allen <[email protected]> wrote:
>> Part of me wants to pursue it, but not as much as making Jython 3 build.
> I took a look, and made a couple of changes that get Jython3 building
> for me, so the tip of https://github.com/jython/jython3 should now
> build (I hope).
>
> For me though, it does not run. I always get:
>
> $ ./dist/bin/jython
> Exception in thread "main"
> Exception: java.lang.NullPointerException thrown from the
> UncaughtExceptionHandler in thread "main"
>
> Investigating further, the issue seems to have been introduced on Sept
> 19 in this commit, which unfortunately, is a biggish one:
>
> """
> commit 308a17a4e9972aa3814a358917ffbd25fd976864
> Author: Isaiah Peng <[email protected]>
> Date:   Mon Sep 19 18:13:57 2016 +0200
>
>      rewrite zipimporter, detach from the shared importer abstract
> class, since classpathpyimporter is currently not functional
> """
>
> The last commit that works on my machine is the one just before:
>
> """
> commit cfed7ce10083ca69f2cec19b9a73d78b60e13967
> Author: Isaiah Peng <[email protected]>
> Date:   Mon Sep 19 15:24:04 2016 +0200
>
>      throw OSError for negative seek position
> """
>
> Hope this helps!
>
> -Frank
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.