[prev in list] [next in list] [prev in thread] [next in thread]
List: python-idle-dev
Subject: [Idle-dev] A possible bug in IDLE 1.2b2
From: taleinat () gmail ! com (Tal Einat)
Date: 2006-07-30 8:08:31
Message-ID: 7afdee2f0607300108y2e13115fnd801a1c0cd7b4e5 () mail ! gmail ! com
[Download RAW message or body]
Several days ago I submitted a patch which addresses this issue: SF patch
1528468<http://sourceforge.net/tracker/index.php?func=detail&aid=1528468&group_id=5470&atid=305470>
.
This will probably be included in Python 2.6.
On 7/29/06, Sourav Datta <soura_jagat at yahoo.com> wrote:
>
>
> The IDLE that comes with Python 1.5 beta has a problem. While the Alt+p
> retrieves the previous command issued to the prompt, there was another way
> to do that in IDLE v1.1.2 that came with Python 2.4. If I just clicked on
> a previous command and hit ENTER, the command would appear again in the new
> prompt. As follows,
>
> IDLE 1.1.2
> >>> def hello(name):
> if name=='me':
> print 'Hello you!'
> else:
> print 'Hello '+name
>
>
> >>> hello('James')
> Hello James
>
> Now clicking on the line hello(?) and hitting ENTER, we get the following
> again.
> >>> def hello(name):
> if name=='me':
> print 'Hello you!'
> else:
> print 'Hello '+name
>
>
>
> But with the new IDLE it is not so. Doing the same would yield the
> following,
>
> IDLE 1.2b2
> >>> def hello(name):
> if name=='me':
> print 'Hello you'
> else:
> print 'Hello '+name
>
>
> >>> hello('me')
> Hello you
>
> Now, again clicking on hello(...) definition line and hitting ENTER, we
> get the following
> >>> def hello(name):
> if name=='me':
> print 'Hello you'
> else:
> print 'Hello '+name
>
>
> SyntaxError: invalid syntax
>
>
>
> *
> ---------------------------------------------------------------------------------------------
> *
> *"WYNINNWYWG"*
> *Sourav Datta*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/idle-dev/attachments/20060730/84548f0f/attachment.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic