Ma Lin added the comment:

>> It looks like a bug in your application. Can you provide a short script to 
>> reproduce the bug?

It's hard to believe it, the code has no way to behavior like that.
I think this is not reproducible, it's random hang.

As my subjective feelings, I suspect it's a Windows bug.

e.g., after an relative long time nooperation, I suddenly press a button in 
tkinter GUI, it simply delete a file like this:

        try:
            output = self.output.get().strip()
            os.remove(output)
        except:
            pass
        else:
            print('已删除输出文件')
                        
It usually hangs at the print() line.

Another scene is high IO, I download something at 8 MB/s, then I run my 
program, it should download a HTML page and then print() some information, some 
hangs happed in this scene.

In addition, the printed strings are Simplified Chinese, my system's language 
is it as well. Maybe it's a factor?

I'm inclined to guess is a Windows 10 (or only my system's) bug.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to