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

Starred target bug #1223

Closed
robertwb opened this issue Mar 3, 2011 · 3 comments
Closed

Starred target bug #1223

robertwb opened this issue Mar 3, 2011 · 3 comments

Comments

@robertwb
Copy link
Contributor

robertwb commented Mar 3, 2011

This code doesn't work as expected:

def assign():
   a, *b = 1,2,3,4,5
   return a, b

>>> import x
>>> x.assign()
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "x.pyx", line 6, in x.assign (x.c:445)
   a, *b = 1,2,3,4,5
TypeError: Expected list, got int

Migrated from http://trac.cython.org/ticket/664

@robertwb
Copy link
Contributor Author

robertwb commented Mar 3, 2011

@vitek commented

Here is fix vitek@42091ea

@robertwb
Copy link
Contributor Author

robertwb commented Mar 3, 2011

@robertwb changed milestone from wishlist to 0.14.2
resolution to fixed
status from new to closed
commented

@robertwb robertwb closed this as completed Mar 3, 2011
@robertwb
Copy link
Contributor Author

scoder changed milestone from 0.14.2 to 0.15
commented

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