-
Notifications
You must be signed in to change notification settings - Fork 10
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
tuple assignment to class members fails #58
Comments
Our destructuring assignment really only works with tuples of literals, I I played with that a little bit last week; to do it right we really need to
On Thu, Mar 28, 2013 at 1:24 AM, Matthew Milano [email protected]:
|
For the ambitious, I bet you can probably segfault Python somewhere in here On Thu, Mar 28, 2013 at 1:35 AM, Joe Gibbs Politz [email protected] wrote:
|
class c: pass
c.x, c.y = (5,6)
reports exception: can't assign to literals
this works in python. This makes solving the destructuring bind bug for classes somewhat tricky. I've worked around it, but when this is solved I'l like to remove the workaround.
The text was updated successfully, but these errors were encountered: