|
|
Subject: Re: [Jython-checkins] SF.net SVN: jython: [3179] trunk/jython/Lib/test/regrtest.py - msg#00021
List: lang.jython.devel
On 4/22/07, cgroves@xxxxxxxxxxxxxxxxxxxxx <cgroves@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Log Message:
> -----------
> test_long_future started passing with the CompilerFlags fix from a few days
> ago
Hurray! That one has been bugging me forever...
-Frank
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: optparse.py on Jython done
The textwrap patch at
http://sourceforge.net/tracker/index.php?func=detail&aid=1704474&group_id=5470&atid=305470
works around the lack of translate on unicode objects in Jython.
Happily, that was fixed on the 2.3 branch and just needed to be ported
back to trunk. I just backported it, so that patch doesn't need to be
applied.
In the test_optparse patch at
http://sourceforge.net/tracker/index.php?func=detail&aid=1704474&group_id=5470&atid=305470,
you can get around the lack of __builtins__ with a "import __builtin__
as __builtins__" which is probably better than ignoring the hasattr
check on Java.
The change to the InterceptedError section to accept unicode as well
as str may have been fixed by some recent improvements to Jython's
unicode support. Would you mind trying this again with the most
recent code on the 2.3 branch? If it isn't fixed, we might want to
see why Jython is returning unicode instead of str. I think that's
probably a Jython bug.
Finally, we might want to look at getting Jython's error messages for
bad ints and longs to look more like CPython's rather than changing
the test. It looks like there's more information in the CPython error
messages so it would be nice to have them anyway.
This patch will still need to go in for the __builtins__ workaround,
but I think we can get rid of the other two changes.
Charlie
On 4/20/07, Tim Couper <tim@xxxxxxxxxx> wrote:
> I've submitted the textwrap.py patch (and a patch to test_optparse.py)
> against the latest python2.5 trunk svn.
>
> Please check I haven't broken anything :-)
>
> Tim
>
> A.M. Kuchling wrote:
> > On Fri, Apr 20, 2007 at 10:26:42AM +0100, Tim Couper wrote:
> >
> >> I need to know where to put the jython modified version of textwrap.py
> >> for code review. Should I submit a patch relative to the py2.5 version
> >> of textwrap.py, or it that going to cause confusion? Guidance please :-)
> >>
> >
> > Does the 2.5 textwrap.py need a modification to work with Jython? If
> > yes, please submit it as a patch and I'll take a look at committing it
> > to the 2.5-maint and 2.6 trunk in Python's CVS, and to the 2.2-maint
> > branch.
> >
> > --amk
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Jython-dev mailing list
> > Jython-dev@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/jython-dev
> >
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jython-dev mailing list
> Jython-dev@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/jython-dev
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Next Message by Date:
click to view message preview
Release 2.2 beta 2 at JavaOne, reciprocal announcements?
It turns out that JRuby will release 1.0 beta/RC 1 and Groovy will
release 1.1 beta 1 at JavaOne this year, at exactly the same time in
opposite talks. I'm talking with the Groovy guys and I think we're going
to reciprocally announce the others' release. I thought I heard murmurs
about Jython 2.2b2 being released soon...it would be great if Jython
2.2b2 release could hold off to JavaOne and be announced at the same
time, so we can really flood the newswire with dynlang power.
Thoughts?
- Charlie
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Previous Message by Thread:
click to view message preview
JLine Console
I moved to a new machine without Java readline support, so rather than
going through the hassle of building it I added JLine support to
Jython. It was definitely the right choice as writing that code was
much easier than building javareadline has been in my experience.
You get most of the normal readline stuff: Emacs like navigation on
the current line and up and down key history navigation.
Unfortunately it doesn't allow searching through the command history
with Ctrl-R.
To turn it on update to the latest code, add the latest JLine jar from
http://jline.sourceforge.net to your ant.properties, build, add
JLine's jar to your Jython classpath and add
-Dpython.console=org.python.util.JLineConsole to your Java invocation.
If you don't care about JLine, things should build just fine without
it. A lack of jline.jar in your ant.properties will cause a full
release build to fail though, just like missing any of the other
external jars.
Adding tab completion support should be pretty simple. Just make an
implementation of JLine's Completer interfaces that hooks into the
completer from the rlcompleter module we're already including.
rlcompleter tries to connect to the readline module on import, so
we'll need to break that apart somehow, but that should be the only
tricky part. I think the actual complete function from it could be
made to work with the Completer interface easily.
Charlie
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Next Message by Thread:
click to view message preview
Release 2.2 beta 2 at JavaOne, reciprocal announcements?
It turns out that JRuby will release 1.0 beta/RC 1 and Groovy will
release 1.1 beta 1 at JavaOne this year, at exactly the same time in
opposite talks. I'm talking with the Groovy guys and I think we're going
to reciprocally announce the others' release. I thought I heard murmurs
about Jython 2.2b2 being released soon...it would be great if Jython
2.2b2 release could hold off to JavaOne and be announced at the same
time, so we can really flood the newswire with dynlang power.
Thoughts?
- Charlie
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
|
|