Problem fixed in 2.5a1. Great !
Cheers,
SB
Sébastien Boisgérault wrote:
>
> Frank,
>
> Great job indeed ! There is however a small issue in the jython
> 2.5 console (at least for my specific linuxish platform conf.) that
> forbids to type multiple indented lines at the same level:
>
> Normal behavior:
>
> boisgera@...:~$ jython
> Jython 2.2.1 on java1.6.0
> Type "copyright", "credits" or "license" for more information.
> >>>
> boisgera@...:~$
> boisgera@...:~$ jython
> Jython 2.2.1 on java1.6.0
> Type "copyright", "credits" or "license" for more information.
> >>> if True:
> ... print 42
> ...
> 42
> >>>
>
> I had to hit return twice to get the code to run, so that I could have
> added another print at the same level if I wanted to. But now in
> jython 2.5 console, I have no choice: after the print 42, when I hit
> return, the code runs:
>
> boisgera@...:~$ jython2.5a0+
> Jython 2.5a0+ (asm:4929:4937M, Jul 15 2008, 11:47:38)
> [Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0
> Type "help", "copyright", "credits" or "license" for more information.
> >>> if True:
> ... print 42
> 42
> >>>
>
>
> Cheers,
>
> SB
>
>
> Frank Wierzbicki wrote:
>> On behalf of the Jython development team, I'm pleased to announce that
>> Jython 2.5a0+ is available here
>> http://downloads.sourceforge.net/jython/jython_installer-2.5a0.jar for
>> download. See http://jython.org/Project/installation.html for
>> installation instructions.
>>
>> This is the first alpha release of Jython 2.5 and contains many new
>> features. In fact, because we have skipped 2.3 and 2.4, there are too
>> many to even summarize. A few of the features are:
>> * generator expressions
>> * with statement
>> * exceptions as new-style classes
>> * unicode support more in line with CPython
>> * decorators
>>
>> Under the hood Jython 2.5 has a new parser based on ANTLR 3.1 and the
>> compiler has been refactored to use ASM.
>>
>> There are so many more changes that I have missed more than I have
>> listed. This is an alpha release, so there are known and unknown
>> bugs, so be careful.
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Jython-dev mailing list
>> Jython-dev@...
>> https://lists.sourceforge.net/lists/listinfo/jython-dev
>>
>>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jython-dev mailing list
> Jython-dev@...
> https://lists.sourceforge.net/lists/listinfo/jython-dev
>
|