What method were you thinking of? As far as I can tell from the code, this information isn't saved on the object. I think the only way to do it is to compare expr and expr.func(*expr.args). That will tell you if something didn't evaluate that would have. It won't tell you if evaluate=False was used but wasn't really needed.
Aaron Meurer On Fri, Oct 2, 2015 at 10:54 PM, Kate MacInnis <[email protected]> wrote: > I think I know the answer already, but just to be sure, if I have several > expression objects (mostly Add and Mul), some of which were created with > `evaluate=False`, is there any way to tell which those are? > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/460b6260-4fd3-4a66-ae07-fc600b253855%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2B29W82KcE4fnR4fOiOz-gVqj%3DFGW-ogPV14xApepQsPw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
