BugFix v3.0.3 - For Windows users #37
                  
                    
                      BennyThadikaran
                    
                  
                
                  announced in
                Announcements
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
A bug affecting windows users has been fixed. The bug was accidentally introduced in version 3.
On Windows, threads are executed by importing the main module and executing in a python interpreter.
Prior to v3, there was an check to make sure certain startup code is not executed using
if __name__ == '__main__'. Thisifcheck was removed in v3, resulting in the entire script getting re-executed in each thread including the input prompt.This issue has now been fixed and comments added as a reminder not to remove the if check. Thanks to user Prady04 for raising the issue. 👍
Beta Was this translation helpful? Give feedback.
All reactions