Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3528 > unrolled thread

IDLE bug

Started byharrismh777 <harrismh777@charter.net>
First post2011-04-18 23:05 -0500
Last post2011-04-21 01:22 -0500
Articles 8 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  IDLE bug harrismh777 <harrismh777@charter.net> - 2011-04-18 23:05 -0500
    Re: IDLE bug James Mills <prologic@shortcircuit.net.au> - 2011-04-19 14:16 +1000
      Re: IDLE bug rantingrick <rantingrick@gmail.com> - 2011-04-20 05:39 -0700
    Re: IDLE bug Westley Martínez <anikom15@gmail.com> - 2011-04-18 21:18 -0700
    Re: IDLE bug Terry Reedy <tjreedy@udel.edu> - 2011-04-19 03:08 -0400
      Re: IDLE bug harrismh777 <harrismh777@charter.net> - 2011-04-19 22:39 -0500
        Re: IDLE bug Terry Reedy <tjreedy@udel.edu> - 2011-04-20 01:26 -0400
          Re: IDLE bug harrismh777 <harrismh777@charter.net> - 2011-04-21 01:22 -0500

#3528 — IDLE bug

Fromharrismh777 <harrismh777@charter.net>
Date2011-04-18 23:05 -0500
SubjectIDLE bug
Message-ID<oS7rp.16433$sy5.8447@newsfe22.iad>
Are bug reports wanted here, or just in issue tracker?

thanks

[toc] | [next] | [standalone]


#3529

FromJames Mills <prologic@shortcircuit.net.au>
Date2011-04-19 14:16 +1000
Message-ID<mailman.541.1303186583.9059.python-list@python.org>
In reply to#3528
On Tue, Apr 19, 2011 at 2:05 PM, harrismh777 <harrismh777@charter.net> wrote:
> Are bug reports wanted here, or just in issue tracker?

Pretty sure they're wanted in the Issue Tracker.

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"

[toc] | [prev] | [next] | [standalone]


#3693

Fromrantingrick <rantingrick@gmail.com>
Date2011-04-20 05:39 -0700
Message-ID<9c7f7f3d-12a0-4c56-be08-ab043708b187@dn9g2000vbb.googlegroups.com>
In reply to#3529
On Apr 18, 11:16 pm, James Mills <prolo...@shortcircuit.net.au> wrote:
> On Tue, Apr 19, 2011 at 2:05 PM, harrismh777 <harrismh...@charter.net> wrote:
> > Are bug reports wanted here, or just in issue tracker?
>
> Pretty sure they're wanted in the Issue Tracker.

My opinion is to report bugs on the tracker AND here since this list
is viewed by more people than the bug tracker is. And the wider
community needs to know where the shortcomings of this language exist.

[toc] | [prev] | [next] | [standalone]


#3531

FromWestley Martínez <anikom15@gmail.com>
Date2011-04-18 21:18 -0700
Message-ID<mailman.543.1303186690.9059.python-list@python.org>
In reply to#3528
On Mon, 2011-04-18 at 23:05 -0500, harrismh777 wrote:
> Are bug reports wanted here, or just in issue tracker?
> 
> thanks
> 

If it's a super-critical bug that can destroy data, yes, else just the
issue tracker.

[toc] | [prev] | [next] | [standalone]


#3546

FromTerry Reedy <tjreedy@udel.edu>
Date2011-04-19 03:08 -0400
Message-ID<mailman.552.1303196914.9059.python-list@python.org>
In reply to#3528
On 4/19/2011 12:05 AM, harrismh777 wrote:
> Are bug reports wanted here, or just in issue tracker?

If one is somewhat experienced with Python and is sure about having 
identified a bug, and is willing to search the tracker for existing 
reports and respond to questions, then report on the tracker. If one is 
new to Python and perhaps not sure, or should not be sure, then I prefer 
that one ask here for a second opinion.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#3641

Fromharrismh777 <harrismh777@charter.net>
Date2011-04-19 22:39 -0500
Message-ID<Rzsrp.36301$yp3.4140@newsfe09.iad>
In reply to#3546
Terry Reedy wrote:
> If one is new to Python and perhaps not sure, or should not be sure,
> then I prefer that one ask here for a second opinion.

Thanks Terry. I am not new to Python, but I am new to Python3, and I'm 
also relatively new to IDLE. Typically I edit with vi, test on the 
terminal, and run on the server. I have been using IDLE more these days, 
and also working more with Tk, so I've run into a couple little minor 
snags.  Anyway, sorry, I'm digressing a bit...as usual.

Here is the bug, for a second opinion:

Under some circumstances, which I will detail later down the note, if I 
click File --> Close without explicitly saving, and without running the 
module with Run --> Run Module , then the last changes I made to the 
file do not get saved. The save dialogue pop-up does appear, and I do 
select YES--- I want to save before closing--- but when I re-open the 
file (IDLE or vi) the changes are not there... as though the save 
binding did not work, or like there was some timing glitch that 
prevented the save somehow before the edit window closed down. The error 
is not solid, in that, if the file is larger (significantly) then the 
File --> Close (select Yes on the dialogue) does work... ??

The work around is to do either 1) run the module, or 2) explicitly 
click File --> Save.

The alleged bug can be reproduced on both of my primary desk machines, 
Linux systems, using IDLE on 2.6, 2.7, and 3.2/  These are the 
instructions for reproducing this little snag:

1) Open a new edit window with File --> New Window

2) Enter the following code on the first two lines:
def testfunc():
     return None

3) Click File --> Save    ( testit.py )

4) Click File --> Close

5) Open the file with  File --> Recent Files   ( select testit.py )

6) Use the edit window to place these three lines above testfunc:
############################
# comment block
##############################

7) Click    File --> Close

8) When the Save on Close dialogue appears select "Yes"

9) Re-open the file with   File --> Recent Files   ( select testit.py )

10) The comment block will not be there...  didn't save.


Well, there it is. Of course I must admit, I've used IDLE for months 
without ever noticing this, so its really a nit... if I'm doing 
something incorrect, let me know.  If it is something I can fix myself 
let me know that too... I've compiled 2.7 and 3.2 from sources, 2.6 came 
installed on my distro... which is another point to bring up actually, 
because all three of them are using the same Tk libraries (8.5.x)

Thanks Terry.

kind regards,
m harris


[toc] | [prev] | [next] | [standalone]


#3654

FromTerry Reedy <tjreedy@udel.edu>
Date2011-04-20 01:26 -0400
Message-ID<mailman.616.1303277197.9059.python-list@python.org>
In reply to#3641
On 4/19/2011 11:39 PM, harrismh777 wrote:
> Terry Reedy wrote:
>> If one is new to Python and perhaps not sure, or should not be sure,
>> then I prefer that one ask here for a second opinion.
>
> Thanks Terry. I am not new to Python, but I am new to Python3, and I'm
> also relatively new to IDLE. Typically I edit with vi, test on the
> terminal, and run on the server. I have been using IDLE more these days,
> and also working more with Tk, so I've run into a couple little minor
> snags. Anyway, sorry, I'm digressing a bit...as usual.
>
> Here is the bug, for a second opinion:
>
> Under some circumstances, which I will detail later down the note, if I
> click File --> Close without explicitly saving, and without running the
> module with Run --> Run Module , then the last changes I made to the
> file do not get saved. The save dialogue pop-up does appear, and I do
> select YES--- I want to save before closing--- but when I re-open the
> file (IDLE or vi) the changes are not there... as though the save
> binding did not work, or like there was some timing glitch that
> prevented the save somehow before the edit window closed down. The error
> is not solid, in that, if the file is larger (significantly) then the
> File --> Close (select Yes on the dialogue) does work... ??
>
> The work around is to do either 1) run the module, or 2) explicitly
> click File --> Save.
>
> The alleged bug can be reproduced on both of my primary desk machines,
> Linux systems, using IDLE on 2.6, 2.7, and 3.2/ These are the
> instructions for reproducing this little snag:
>
> 1) Open a new edit window with File --> New Window
>
> 2) Enter the following code on the first two lines:
> def testfunc():
> return None
>
> 3) Click File --> Save ( testit.py )
>
> 4) Click File --> Close
>
> 5) Open the file with File --> Recent Files ( select testit.py )
>
> 6) Use the edit window to place these three lines above testfunc:
> ############################
> # comment block
> ##############################
>
> 7) Click File --> Close
>
> 8) When the Save on Close dialogue appears select "Yes"
>
> 9) Re-open the file with File --> Recent Files ( select testit.py )
>
> 10) The comment block will not be there... didn't save.

On my winxp, following the above *exactly*, the comment block is there. 
But I can believe there might be a system specific glitch around save 
and close. See
http://bugs.python.org/issue9803
http://bugs.python.org/issue10365

Go ahead and report, noting which Linux distribution, and include my 
negative report. Add me as nosy.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#3766

Fromharrismh777 <harrismh777@charter.net>
Date2011-04-21 01:22 -0500
Message-ID<w2Qrp.835$I64.306@newsfe04.iad>
In reply to#3654
Terry Reedy wrote:
>
> Go ahead and report, noting which Linux distribution, and include my
> negative report. Add me as nosy.

Done.  11896 created.
msg(s)  134194
         134195


thanks

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web