Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 2563 by [email protected]: AssocOp._eval_template_is_attr is
wrong or misused
http://code.google.com/p/sympy/issues/detail?id=2563
This returns True if all elements have the property, False if at least one
has the property set to False and all others have either True/False, and
None if at least one element has the property set to None.
This is either not right or not used correctly. e.g.
In [5]: x = Symbol('x', real=True, bounded=False)
In [7]: (x*sin(1/x**2)).is_bounded
Out[7]: False # Wrong?
In [8]: k = Symbol('k', integer=True)
In [9]: (k/3).is_integer
Out[9]: False # Wrong if k=3
On the other hand changing the function to return True if all elements have
the property and None otherwise introduces lots of test failures.
--
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.