Issue732839
Created on 2003-05-05.18:19:42 by anonymous, last changed 2005-10-31.18:26:04 by fwierzbicki.
History | |||
---|---|---|---|
Date | User | Action | Args |
2003-05-05 18:19:42 | anonymous | create |
Created on 2003-05-05.18:19:42 by anonymous, last changed 2005-10-31.18:26:04 by fwierzbicki.
Messages | |||
---|---|---|---|
msg837 (view) | Author: Nobody/Anonymous (nobody) | Date: 2003-05-05.18:19:42 | |
This code worked a while back: x = -2 y = 0xffffffffL x = x & y With Jython 2.1, it generates a syntax error: Traceback (innermost last): File "<console>", line 1, in ? TypeError: __and__ nor __rand__ defined for these operands I can work around it in two different ways. This is okay: x = -2 y = 0xffffffffL x = y & x // Order reversed And so is this: x = -2 y = 0xffffffffL x = long (x) & y // Explicit convestion of int to long But neither seem like they *should* be required. Is this new behavior intentional? Or a bug? E-mail me for details, if necessary: mark.roulo@kla-tencor.com Thanks, Mark R. |
|||
msg838 (view) | Author: Frank Wierzbicki (fwierzbicki) | Date: 2005-10-31.18:26:04 | |
Logged In: YES user_id=193969 fixed in 2.2 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2003-05-05 18:19:42 | anonymous | create |
Supported by Python Software Foundation,
Powered by Roundup