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
SyntaxError raised on win32 for correct files #41976
Comments
Try to import the attached file (dt.py) on Windows with Also note that compiling the file with |
Logged In: YES I'm fairly sure this is caused by the bug described here: The module imports without syntax error on my Windows system |
Logged In: YES I have a similar problem with an other file (log.py). D:\dvt\tmp\bug2_4_1>python -c "import log"
Traceback (most recent call last):
File "<string>", line 1, in ?
File "D:\dvt\tmp\bug2_4_1\log.py", line 356
w = 72
^
SyntaxError: invalid syntax |
Logged In: YES This bug should be fixed in the current CVS version. So, can |
Logged In: YES It's ok if I remove coding declaration. |
Logged In: YES Copying codecs.py from current CVS (2.4 branch) over your |
Logged In: YES dt.py imports fine (except for the ImportError the OP |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: