Skip to content

No support for async/await (updated title) #1145

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

Closed
takeda opened this issue Jan 24, 2016 · 4 comments
Closed

No support for async/await (updated title) #1145

takeda opened this issue Jan 24, 2016 · 4 comments

Comments

@takeda
Copy link

takeda commented Jan 24, 2016

When trying to check the code that was indented with tabs it spews errors like this:

test.py:8: error: Parse error before "def"
test.py:8: error: Parse error before :
test.py:9: error: Inconsistent indentation
test.py:10: error: Parse error before "p"

@gvanrossum
Copy link
Member

It's a bug, but IMO not a very important one (I haven't encountered tab-indented code in years). However, maybe it's easy to fix? The place to fix would be mypy/lex.py. Do you feel like sending a pull request?

@takeda
Copy link
Author

takeda commented Jan 25, 2016

Sure, will do.

@takeda
Copy link
Author

takeda commented Jan 25, 2016

Well... this is embarrassing. The tabs actually do work fine, what I run into was #913. The code I was checking utilized async/await statements.

@takeda takeda closed this as completed Jan 25, 2016
@takeda takeda changed the title Does not support tab indentation No support for async/await (Updated title) Jan 25, 2016
@takeda takeda changed the title No support for async/await (Updated title) No support for async/await (updated title) Jan 25, 2016
@gvanrossum
Copy link
Member

gvanrossum commented Jan 25, 2016 via email

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

2 participants