[Python-Dev] odd interpreter feature
Thomas Wouters
thomas@xs4all.net
Wed, 7 May 2003 17:16:20 +0200
On Wed, May 07, 2003 at 10:55:45AM -0400, Fred L. Drake, Jr. wrote:
> Tim Peters writes:
> > This changed at some very early point in Python's life. I don't think the
> > trailing colon is relevant:
> >
> > >>> 1+2
> > 3
> > >>> # hello
> > ...
> > >>>
> I think this is also a point on which Python and Jython differ, but I
> don't have Jython installed anywhere nearby to test with.
I do:
debian:~ > jython
Jython 2.1 on java1.1.8 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> 1+2
3
>>> # hello
>>> ^D
(This is why I use Debian... 'apt-get install jython' :-)
--
Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!