Skip to content
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

Python async / await #795

Closed
gjcarneiro opened this issue Oct 6, 2017 · 0 comments
Closed

Python async / await #795

gjcarneiro opened this issue Oct 6, 2017 · 0 comments

Comments

@gjcarneiro
Copy link

Coming from https://gitlab.com/gitlab-org/gitlab-ce/issues/38848

Python 3.5 has new keywords async and await, which are not being highlighted properly. Example:

async def foo():
   await asyncio.sleep(1)
   async with lock:
       return [row async for row in cursor]

GitHub does highlight them correctly, but GitLab doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant