Comment #2 on issue 1206 by thinred: Integer and Rationa do not  
implement .args
http://code.google.com/p/sympy/issues/detail?id=1206

I was trying to fix it, however:
   1) I am not completely sure what should be presented in .args for Real ->  
object
itself or object + precision? Additionally I had problems with modyfing  
code for
Zero, One, NegativeOne classes because I couldn't modify their ._args  
attribute or
create __new__ method because they are singletons.
   2) basic.py comments say that elements of ._args should be derived from  
Basic
class. It means that every Rational instance will contain two instances of  
Integer.
The same thing applies to Real precision (which would an Integer also)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to