Le 03/11/2012 14:51, Stefan Krastanov a écrit :
Is it only in order to make args immutable? This seems a bit against
the "consenting adults" idea.
The point is rather to decouple the interface from the implementation.
Overriding slotted attributes (like _args) with properties is
problematic. Making Basic.args a property gives subclasses more freedom
in choosing how to store their arguments.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.