Skip to content

Possible Bug with __add__ operation in Python, with multiple worms #87

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
cheelee opened this issue Apr 7, 2016 · 1 comment
Closed
Assignees

Comments

@cheelee
Copy link
Contributor

cheelee commented Apr 7, 2016

I was expecting x = y + z where y and z are different but compatible to produce an x which is different from both y and z. Instead the following code produced the following results:

x = y + z results in x == y
x = z + y results in x == z

https://gist.github.com/cheelee/e3cc3b513f605a46bebbd49136b78e78

@MichaelCurrie MichaelCurrie self-assigned this Apr 8, 2016
@MichaelCurrie MichaelCurrie added this to the OWAT for Python 1.1 milestone Apr 8, 2016
@MichaelCurrie
Copy link

Fixed with 8c44302.

Thanks for finding this, @cheelee!

@MichaelCurrie MichaelCurrie changed the title Possible Bug with __add__ operation in Python-WCON Possible Bug with __add__ operation in Python, with multiple worms Apr 15, 2016
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