On 5 mai, 23:43, Bastian Weber <bastian.we...@gmx-topmail.de> wrote: > Regarding the more or less the original topic: > Would it be useful to test if .count_ops (or some other (fast) measure > for complexity) exceeds a pre-determined value and in this case print a > warning that the operation (e.g. expand) could take very long? I > sometimes feel like missing this. How about other users?
Such a warning would probably be ok for the interactive usage, but not for the library. The user is responsible if he does something that takes a lot of time. Maybe we could add a warning to expand()'s docstring. Vinzent -- 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.