Updates:
Status: Duplicate
Mergedinto: 2254
Comment #1 on issue 1815 by [email protected]: shift operator
http://code.google.com/p/sympy/issues/detail?id=1815
This has been partially fixed:
In [1]: S(4) & S(3)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/media/sda2/Boulot/Projets/sympy-git/<ipython-input-1-1332fae6b151> in
<module>()
----> 1 S(4) & S(3)
TypeError: unsupported operand type(s) for &: 'Integer' and 'Integer'
In [2]: S(4) << S(3)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/media/sda2/Boulot/Projets/sympy-git/<ipython-input-2-68d94a3b7845> in
<module>()
----> 1 S(4) << S(3)
TypeError: unsupported operand type(s) for <<: 'Integer' and 'Integer'
What needs to be done now is to implement the bitwise operators for
Integer. For that, see issue 2254.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.