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

Comprehension parsing bug #141

Open
robertwb opened this issue Jul 29, 2016 · 1 comment
Open

Comprehension parsing bug #141

robertwb opened this issue Jul 29, 2016 · 1 comment

Comments

@robertwb
Copy link
Owner

Reported by vitja on 30 Nov 2011 19:36 UTC

$ cat x1.pyx
[for i in 1, 2](i)

$ cython x1.pyx
Error compiling Cython file:
------------------------------------------------------------
...
[for i in 1, 2](i)
            ^
------------------------------------------------------------

x1.pyx:1:13: Expected ']', found ','

Migrated-From: http://trac.cython.org/ticket/757

@robertwb
Copy link
Owner Author

Comment by scoder on 9 Jan 2012 15:11 UTC
That's Py2-only syntax, though. It's gone in Py3.

@robertwb robertwb added this to the wishlist milestone Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant