Hi everyone.

Tom has this commit in his gsoc-2 branch
https://github.com/ness01/sympy/commit/43877ee46e6b4095e2667df4636c3a14b4b820d1.
 In it, he defines Tuple().is_Atom to be True, i.e., the empty Tuple.

Is this problematic, since isinstance(Tuple(), Atom) would still be
False?  Apparently some code relies on objects that cannot be
traversed further through .args to have is_Atom == True.  Is this a
reasonable assumption for that code to make?  And if the answers to
these questions are yes, then can it be setup through some kind of
metaclass logic to make Tuple() an instance of Atom but not Tuple(1),
for example?

Aaron Meurer

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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?hl=en.

Reply via email to