This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients eryksun, jkloth, malin, paul.moore, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Date 2016-04-17.10:02:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460887349.51.0.446938851705.issue26744@psf.upfronthosting.co.za>
In-reply-to
Content
faulthandler module caught a hang just now:

    Timeout (0:01:00)!
    Thread 0x00000eb0 (most recent call first):
      File "D:\git\tz2txt\tz2txt\gui.py", line 262 in delfile
      File "C:\Python35\lib\tkinter\__init__.py", line 1549 in __call__
      File "C:\Python35\lib\tkinter\__init__.py", line 1131 in mainloop
      File "D:\git\tz2txt\tz2txt\gui.py", line 328 in main
      File "D:\git\tz2txt\tz2txt\gui.py", line 331 in <module>
  
 Here is the full delfile function:
  
      def delfile(self):
        try:
            output = self.output.get().strip()
            os.remove(output)
        except:
            pass
        else:
            print('已删除输出文件')    # <- line 262
        
        try:
            os.remove(discard_fn)
        except:
            pass
        else:
            print('已删除丢弃文件')
        
        self.url.set(url_use)

~~~~~~~~~~~~~~~~~~~~~~~~~~
Some supplemental information:

There was a time point, *maybe* it's Windows10 Threshold2 (12/Nov/2015), before that time no hang at all.
After that time, the hangs were quite often.
Some months later, the frequency had declined a lot, but still hang occasionally.
History
Date User Action Args
2016-04-17 10:02:29malinsetrecipients: + malin, terry.reedy, paul.moore, vstinner, tim.golden, jkloth, zach.ware, eryksun, steve.dower
2016-04-17 10:02:29malinsetmessageid: <1460887349.51.0.446938851705.issue26744@psf.upfronthosting.co.za>
2016-04-17 10:02:29malinlinkissue26744 messages
2016-04-17 10:02:29malincreate