[JPython] Re:JPython-Interest digest, Vol 1 #890 - 3 msgs (I will be on
vacation )
by Maria Sartzetaki other posts by this author
Apr 18 2001 12:22AM messages near this date
[JPython] jython-21a1 interpreter
|
[JPython] Re:JPython-Interest digest, Vol 1 #889 - 2 msgs (I will be on
vacation )
Athens Office will be closed due to Easter Vacations till Monday 16 April 2001
Personally I will not be in the office on 17 April 2001 too.
In case of an emergency please contact:
Costas Papadakis (costas.papadakis@gouldseu.ittind.com) or
Aggelos Kousounis (agellos.kousounis@gouldseu.ittind.com) or
call me at my mobile phone 30-977-813976
Thank you
Maria Sartzetaki
> >> "jpython-interest@python.org" 04/17/01 19:02 >>>
Send JPython-Interest mailing list submissions to
jpython-interest@[...].org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/jpython-interest
or, via email, send a message with subject or body 'help' to
jpython-interest-request@[...].org
You can reach the person managing the list at
jpython-interest-admin@[...].org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of JPython-Interest digest..."
Today's Topics:
1. Re:JPython-Interest digest, Vol 1 #889 - 2 msgs (I will be on
vacation ) (Maria Sartzetaki)
2. grumble (John McGreivey)
--__--__--
Message: 1
Date: Mon, 16 Apr 2001 17:01:56 +0200
From: "Maria Sartzetaki" <maria.sartzetaki@[...].com>
To: jpython-interest@[...].org
Subject: [JPython] Re:JPython-Interest digest, Vol 1 #889 - 2 msgs (I will be on
vacation )
Athens Office will be closed due to Easter Vacations till Monday 16 April =
2001
Personally I will not be in the office on 17 April 2001 too.
In case of an emergency please contact:
Costas Papadakis (costas.papadakis@gouldseu.ittind.com) or
Aggelos Kousounis (agellos.kousounis@gouldseu.ittind.com) or=20
call me at my mobile phone 30-977-813976
Thank you
Maria Sartzetaki
> >> "jpython-interest@python.org" 04/16/01 19:01 >>>
Send JPython-Interest mailing list submissions to
jpython-interest@[...].org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/jpython-interest
or, via email, send a message with subject or body 'help' to
jpython-interest-request@[...].org
You can reach the person managing the list at
jpython-interest-admin@[...].org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of JPython-Interest digest..."
Today's Topics:
1. Re:JPython-Interest digest, Vol 1 #888 - 5 msgs (I will be on
vacation ) (Maria Sartzetaki)
-- __--__--
Message: 1
Date: Sun, 15 Apr 2001 17:05:55 +0200
From: "Maria Sartzetaki" <maria.sartzetaki@[...].com>
To: jpython-interest@[...].org
Subject: [JPython] Re:JPython-Interest digest, Vol 1 #888 - 5 msgs (I will =
be on
vacation )
Athens Office will be closed due to Easter Vacations till Monday 16 April =
=3D
2001
Personally I will not be in the office on 17 April 2001 too.
In case of an emergency please contact:
Costas Papadakis (costas.papadakis@gouldseu.ittind.com) or
Aggelos Kousounis (agellos.kousounis@gouldseu.ittind.com) or=3D20
call me at my mobile phone 30-977-813976
Thank you
Maria Sartzetaki
> >> "jpython-interest@python.org" 04/15/01 19:01 >>>
Send JPython-Interest mailing list submissions to
jpython-interest@[...].org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/jpython-interest
or, via email, send a message with subject or body 'help' to
jpython-interest-request@[...].org
You can reach the person managing the list at
jpython-interest-admin@[...].org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of JPython-Interest digest..."
Today's Topics:
1. Re:JPython-Interest digest, Vol 1 #887 - 2 msgs (I will be on
vacation ) (Maria Sartzetaki)
2. Exception handling doubt (Suresh Babu Koya)
3. Re: Exception handling doubt (Robert W. Bill)
4. RE: Exception handling doubt (Suresh Babu Koya)
-- __--__-- =20
Message: 1
Date: Sat, 14 Apr 2001 17:03:08 +0200
From: "Maria Sartzetaki" <maria.sartzetaki@[...].com>
To: jpython-interest@[...].org
Subject: [JPython] Re:JPython-Interest digest, Vol 1 #887 - 2 msgs (I will =
=3D
be on
vacation )
Athens Office will be closed due to Easter Vacations till Monday 16 April =
=3D
=3D3D
2001
Personally I will not be in the office on 17 April 2001 too.
In case of an emergency please contact:
Costas Papadakis (costas.papadakis@gouldseu.ittind.com) or
Aggelos Kousounis (agellos.kousounis@gouldseu.ittind.com) or=3D3D20
call me at my mobile phone 30-977-813976
Thank you
Maria Sartzetaki
> >> "jpython-interest@python.org" 04/14/01 19:01 >>>
Send JPython-Interest mailing list submissions to
jpython-interest@[...].org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/jpython-interest
or, via email, send a message with subject or body 'help' to
jpython-interest-request@[...].org
You can reach the person managing the list at
jpython-interest-admin@[...].org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of JPython-Interest digest..."
Today's Topics:
1. Re:JPython-Interest digest, Vol 1 #886 - 2 msgs (I will be on
vacation ) (Maria Sartzetaki)
-- __--__-- =3D20
Message: 1
Date: Fri, 13 Apr 2001 17:04:16 +0200
From: "Maria Sartzetaki" <maria.sartzetaki@[...].com>
To: jpython-interest@[...].org
Subject: [JPython] Re:JPython-Interest digest, Vol 1 #886 - 2 msgs (I will =
=3D
=3D3D
be on
vacation )
Athens Office will be closed due to Easter Vacations till Monday 16 April =
=3D
=3D3D
=3D3D3D
2001
Personally I will not be in the office on 17 April 2001 too.
In case of an emergency please contact:
Costas Papadakis (costas.papadakis@gouldseu.ittind.com) or
Aggelos Kousounis (agellos.kousounis@gouldseu.ittind.com) or=3D3D3D20
call me at my mobile phone 30-977-813976
Thank you
Maria Sartzetaki
> >> "jpython-interest@python.org" 04/13/01 19:01 >>>
Send JPython-Interest mailing list submissions to
jpython-interest@[...].org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/jpython-interest
or, via email, send a message with subject or body 'help' to
jpython-interest-request@[...].org
You can reach the person managing the list at
jpython-interest-admin@[...].org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of JPython-Interest digest..."
Today's Topics:
1. Re:JPython-Interest digest, Vol 1 #885 - 1 msg (I will be on
vacation ) (Maria Sartzetaki)
-- __--__-- =3D3D20
Message: 1
Date: Thu, 12 Apr 2001 17:08:48 +0200
From: "Maria Sartzetaki" <maria.sartzetaki@[...].com>
To: jpython-interest@[...].org
Subject: [JPython] Re:JPython-Interest digest, Vol 1 #885 - 1 msg (I will =
=3D
=3D3D
=3D3D3D
be on
vacation )
Athens Office will be closed due to Easter Vacations till Monday 16 April =
=3D
=3D3D
=3D3D3D
=3D3D3D3D
2001
Personally I will not be in the office on 17 April 2001 too.
In case of an emergency please contact:
Costas Papadakis (costas.papadakis@gouldseu.ittind.com) or
Aggelos Kousounis (agellos.kousounis@gouldseu.ittind.com) or=3D3D3D3D20
call me at my mobile phone 30-977-813976
Thank you
Maria Sartzetaki
> >> "jpython-interest@python.org" 04/12/01 19:01 >>>
Send JPython-Interest mailing list submissions to
jpython-interest@[...].org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/jpython-interest
or, via email, send a message with subject or body 'help' to
jpython-interest-request@[...].org
You can reach the person managing the list at
jpython-interest-admin@[...].org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of JPython-Interest digest..."
Today's Topics:
1. Functional programming in Python (Kelli Wiginton)
-- __--__-- =3D3D3D20
Message: 1
Reply-To: "Kelli Wiginton" <kwigint@[...].com>
To: jpython-interest@[...].org
From: "Kelli Wiginton" <kwigint@[...].com>
Date: Wed, 11 Apr 2001 12:47:03 -0700
Subject: [JPython] Functional programming in Python
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D=
3D=3D3D3D3D3D=3D3D=3D
3D3D3D=3D3D3D3D3D=3D3D3D3D=3D3D
3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D
Functional programming in Python
Although users usually think of Python as a procedural and object-oriented
language, it actually contains everything you need for a completely
functional approach to programming. This article by David Mertz discusses
general concepts of functional programming, and illustrates ways of
implementing functional techniques in Python.
http://www-106.ibm.com/developerworks/linux/library/l-prog.html?open&l=3D3D=
3D=3D
3D=3D3D
3D=3D3D3D
73=3D3D3D3D
0,t=3D3D3D3D3Dgr,p=3D3D3D3D3DPrmgPyth
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D=
3D=3D3D3D3D3D=3D3D=3D
3D3D3D=3D3D3D3D3D=3D3D3D3D=3D3D
3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D=
3D=3D3D3D3D3D=3D3D=3D
3D3D3D=3D3D3D3D3D=3D3D3D3D=3D3D
3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D
Getting version 2.0
Python programmers have recently acquired a shiny new toy with the release
of version 2.0. Python 2.0 builds on the strengths of previous Python
versions, while adding a number of new conveniences and capabilities. This
previous article from David Mertz contains his impressions of Python's
newest version, and some tips on using it effectively.
http://www-106.ibm.com/developerworks/linux/library/l-py20.html?open&l=3D3D=
3D=3D
3D=3D3D
3D=3D3D3D
73=3D3D3D3D
0,t=3D3D3D3D3Dgr,p=3D3D3D3D3Dv2.0Pyth
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D=
3D=3D3D3D3D3D=3D3D=3D
3D3D3D=3D3D3D3D3D=3D3D3D3D=3D3D
3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D
=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D=3D3D3D3D3D
End of JPython-Interest Digest
End of JPython-Interest Digest
End of JPython-Interest Digest
-- __--__-- =20
Message: 2
From: Suresh Babu Koya <skoya@[...].net>
To: jpython-interest@[...].org
Date: Sat, 14 Apr 2001 23:35:17 +0530
Subject: [JPython] Exception handling doubt
Hi ,=3D20
I am a newbie trying to get familiar with JPython. It was pretty
interesting but I could not find any info regarding the handling of
compulsory exceptions of java in JPython. Any help is greatly appreciated.
Thanks in advance.
Suresh
-- __--__-- =20
Message: 3
Date: Sat, 14 Apr 2001 20:16:50 -0500 (CDT)
From: "Robert W. Bill" <rbill@[...].com>
To: Suresh Babu Koya <skoya@[...].net>
cc: <jpython-interest@[...].org>
Subject: Re: [JPython] Exception handling doubt
Hello Suresh,
On Sat, 14 Apr 2001, Suresh Babu Koya wrote:
> Hi ,
>
> I am a newbie trying to get familiar with JPython. It was pretty
> interesting but I could not find any info regarding the handling of
> compulsory exceptions of java in JPython. Any help is greatly appreciated=
=3D
.
I wasn't sure what you meant by "compulsory".
"What is thrown must be declared thrown or caught" is Java talking,
not Jython (JPython). "compulsory" does not apply to Jython.
Adding an exception handler for a Java exception is similar to how
you would catch an exception in Java. Jython's exceptions are classes, so
are Java's. To handle an exception is to handle an instance of that
exception class. So:
> >>try:
... raise SyntaxError
...except SyntaxError:
... pass # handle instance of SyntaxError here
SyntaxError is just an instance (PyInstance) of the SyntaxError class.
What's a Java exception you ask? It's an instance (PyInstance
of a PyJavaClass) no different than the SyntaxError above to Jython users
like me. So:
> >> import java
> >> import sys
> >>
> >> try:
... raise java.lang.NullPointerException
... except java.lang.NullPointerException:
... c, i, tb =3D3D sys.exc_info() # fetch class, instance, tb
... print i, "is a", type(i) # see, nothin' special
...
java.lang.NullPointerException is an org.python.core.PyInstance
The short of it is add "except javaclass" for any java exception you
need to catch. An "except" without any class specified is generic
and catches everything.
(Warning: I'm only really talking about Jython, the successor to JPython.
If this question was something unique to JPython, ignore this. Also
note that upgrading to Jython is recommended, and I even think
these JPython lists are somewhat abandonded in favor of the Jython lists
found at jython.sourceforege.net- I've just been to lazy to
unsubscribe).
Cheers,
Robert
-- __--__-- =20
Message: 4
From: Suresh Babu Koya <skoya@[...].net>
To: "Robert W. Bill" <rbill@[...].com>
Cc: jpython-interest@[...].org
Subject: RE: [JPython] Exception handling doubt
Date: Sun, 15 Apr 2001 01:58:11 +0530
Thanks for the clarification. I did not set the path for the jar file
initially
so I was getting an error.=3D20
regards,
Suresh=3D20
-----Original Message-----
From: Robert W. Bill [mailto:rbill@[...].com]
Sent: Sunday, April 15, 2001 6:47 AM
To: Suresh Babu Koya
Cc: jpython-interest@[...].org
Subject: Re: [JPython] Exception handling doubt
Hello Suresh,
On Sat, 14 Apr 2001, Suresh Babu Koya wrote:
> Hi ,
>
> I am a newbie trying to get familiar with JPython. It was pretty
> interesting but I could not find any info regarding the handling of
> compulsory exceptions of java in JPython. Any help is greatly appreciated=
=3D
.
I wasn't sure what you meant by "compulsory".
"What is thrown must be declared thrown or caught" is Java talking,
not Jython (JPython). "compulsory" does not apply to Jython.
Adding an exception handler for a Java exception is similar to how
you would catch an exception in Java. Jython's exceptions are classes, so
are Java's. To handle an exception is to handle an instance of that
exception class. So:
> >>try:
... raise SyntaxError
...except SyntaxError:
... pass # handle instance of SyntaxError here
SyntaxError is just an instance (PyInstance) of the SyntaxError class.
What's a Java exception you ask? It's an instance (PyInstance
of a PyJavaClass) no different than the SyntaxError above to Jython users
like me. So:
> >> import java
> >> import sys
> >>
> >> try:
... raise java.lang.NullPointerException
... except java.lang.NullPointerException:
... c, i, tb =3D3D sys.exc_info() # fetch class, instance, tb
... print i, "is a", type(i) # see, nothin' special
...
java.lang.NullPointerException is an org.python.core.PyInstance
The short of it is add "except javaclass" for any java exception you
need to catch. An "except" without any class specified is generic
and catches everything.
(Warning: I'm only really talking about Jython, the successor to JPython.
If this question was something unique to JPython, ignore this. Also
note that upgrading to Jython is recommended, and I even think
these JPython lists are somewhat abandonded in favor of the Jython lists
found at jython.sourceforege.net- I've just been to lazy to
unsubscribe).
Cheers,
Robert
End of JPython-Interest Digest
End of JPython-Interest Digest
--__--__--
Message: 2
From: John McGreivey <mcgreivey@[...].net>
Reply-To: mcgreivey@[...].net
To: jpython-interest@[...].org
Date: Mon, 16 Apr 2001 08:42:38 -0400
Subject: [JPython] grumble
Just a little grumble.... Not a big one....
(trying to be nice)
Could someone set their email program so that it doesn't announce to the list
that they've stepped out of their office everytime they step out of their
office?
OK. Done grumbling.
End of JPython-Interest Digest
_______________________________________________
JPython-Interest maillist - JPython-Interest@[...].org
http://mail.python.org/mailman/listinfo/jpython-interest
|