[ python-Bugs-1337987 ] IDLE, F5 – wrong external file content. (on error!)

SourceForge.net noreply at sourceforge.net
Wed Oct 26 04:45:00 CEST 2005


Bugs item #1337987, was opened at 2005-10-25 21:12
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1337987&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: MvGulik (tyrell_rr)
Assigned to: Nobody/Anonymous (nobody)
Summary: IDLE, F5 – wrong external file content. (on error!)

Initial Comment:
IDLE, F5 – wrong external file content on error.

using:
Python 2.3.5 (#62, Feb  8 2005, 16:23:02) [MSC v.1200
32 bit (Intel)] on win32
IDLE 1.0.5 , TK: 8.4

The basic problem is that when a external file is
reloaded, by using F5, and that file contains a error.
IDLE will tell about the error, and highlight the
error, but its still using the old file content in its
GUI window and not the newly reloaded file content.

when: (IDLE GUI)
- using F5 to reload and restart a external script.
- new and changed script file containing a error.

what:
- display is showing previous script content.
- error highlight is pointing at the wrong code. (bad!)

how:
first file: (create, load and execute)
---
a = 1
print a
---
change to:
---
a = 1
print a :
print a
---
use F5 to auto reload and execute.



Anything I'm doing wrong, or I can do locally to fix
this?.  just let me know.

ps: upgrade to 2.4.x is not really a option in my case.
(not yet at leased)

Cheers
M.v.Gulik

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-10-25 21:45

Message:
Logged In: YES 
user_id=80475

Save with Control-S before pressing F5.

----------------------------------------------------------------------

Comment By: MvGulik (tyrell_rr)
Date: 2005-10-25 21:37

Message:
Logged In: YES 
user_id=779309

huu, little update.
the error itself is not part of the real (code)problem.
( it is of course when its leading to misleading debug info )
but the display of the external file in just not updated
after using F5.
with or without a error being triggerd.
M.v.Gulik

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1337987&group_id=5470


More information about the Python-bugs-list mailing list