-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing a module no longer works #1118
Comments
Many thanks for reporting this very soon after the release of version 3.7.2... It's the kind of bug that doesn't show in the development environment, but crashes everything in an environment created by By the way, the bug was indeed introduced by the previous commit, 6c8b2fa, with a name more related to the issue : Limit the number of tries when importing from a module in the standard library |
I try to import regex module from a Brython script in my Client folder. regex is located at
I'm using CEF. |
Importing a module worked correctly in 3.7.1 but in 3.7.2 the import fails with "ImportError: No module named xxxxxxx".
This is the case no matter whether the module is a file module.py, or a folder containing an
__init__.py
file, or an import from within a folderimport folder.module as mymodule
.Having done some digging, I find that the change seems to have been introduced in commit 4894051 Fixes #1093 : wrong assignment in "for x in empty range", on April 17th, although I can't see what that title has to do with importing a module :-)
Thank you as always
Andy
The text was updated successfully, but these errors were encountered: