Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:
On Sun, May 09, 2021 at 10:04:29PM +0000, Mohamed wrote: > As I mentioned, It seems that the recent update of Windows has affected > Tkinter, > so that mainloop is not working after the first time That isn't what it looks like to me. If updating Windows had affected Tkinter, IDLE would no longer work and there would be thousands of people affected. I see no sign that this is the case: https://duckduckgo.com/?q=latest+update+of+windows+breaks+tkinter It would be very, very suprising if you were the only person who has noticed that a Windows update broke Tkinter. Mohamed, you said that you had done an investigation which showed memory corruption. What is your evidence for memory corruption? So far there is no evidence for a bug in Tkinter or Python. This is not a help desk. There are many forums where you can get help debugging your program, you should create a minimal example and ask for help at https://www.reddit.com/r/learnpython/ http://mail.python.org/mailman/listinfo/python-list news:comp.lang.python https://discuss.python.org/c/users/7 https://www.python.org/community/irc/ No matter which forum you go to, you will be asked for a minimal example demonstrating the problem: http://www.sscce.org/ https://stackoverflow.com/help/minimal-reproducible-example https://ericlippert.com/2014/03/05/how-to-debug-small-programs/ https://medium.com/swlh/how-to-ask-smart-questions-d02f053a02ac http://www.catb.org/esr/faqs/smart-questions.html Note that a minimal program **MUST** be runnable. There is no point just deleting lines of code and replacing them with "...", because the code won't run. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com