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?
to your account
Migrated issue, originally created by Brian Sheldon ()
Importing dogpile on python 3.7 beta 2 fails with syntax error.
Python 3.7.0b2 (v3.7.0b2:b0ef5c979b, Feb 28 2018, 02:24:20) [MSC v.1912 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import dogpile
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python\3.7.0\lib\site-packages\dogpile\__init__.py", line 3, in <module>
from .lock import Lock # noqa
File "C:\Python\3.7.0\lib\site-packages\dogpile\lock.py", line 115
async = False
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
Michael Bayer (zzzeek) wrote:
Rename "async" variable for python 3.7
Fixed import issue for Python 3.7 where a variable named "async" was
used, leading to syntax errors. Pull request courtesy Brian Sheldon.
Sorry, something went wrong.
Changes by Michael Bayer (zzzeek):
No branches or pull requests