Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Importer should warn for __main__ imports lacking execution guard #366
Environment:Python 3.6.5rc1, macOS High Sierra 10.13.6, mitogen 0.2.2
Wrap the last 2 lines of your script in
This is still a bug - the library should have warned you about an import of
Thanks for reporting!