On Fri, Dec 11, 2009 at 2:17 PM, Ronan Lamy <ronan.l...@gmail.com> wrote:
> Le vendredi 11 décembre 2009 à 12:48 -0800, Ondrej Certik a écrit :
>> On Fri, Dec 11, 2009 at 12:41 PM, Aaron S. Meurer <asmeu...@gmail.com> wrote:
>> > Also, we should mention in the change log the things that are depreciated, 
>> > namely, the old assumptions.  All new code should use new assumptions, and 
>> > old code should replace old assumptions with new, correct?
>>
>> That's exactly correct.
>
> What exactly do you mean by this? I don't think we have any code that
> uses the new assumptions and I wouldn't know how to write that since the
> new assumption system isn't integrated with the old one. For instance:
>
> In [11]: x = Symbol('x', positive=True)
>
> In [12]: print(ask(x, Q.positive))
> None

Yes, here you are using the old assumptions. I think we should
encourage to use the new ones in new modules. You are right, that we
need some code that actually uses it. I hope Fabian work on this a bit
after exams. :) But if not, it has to happen, that we slowly rewrite
things using the new assumptions.

Ondrej

--

You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@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.


Reply via email to