Tracking it down was easy. The thing I'm not sure about is how to properly fix this. Any objects that iterates infinitely would have this problem.
Aaron Meurer On Mon, Jul 25, 2011 at 6:08 PM, Matthew Brett <[email protected]> wrote: > Hi, > > On Tue, Jul 26, 2011 at 1:02 AM, Aaron Meurer <[email protected]> wrote: >> I bisected this to >> >> commit f95d0146f59fd9160fe867561fb6620c3a035ad1 >> Author: Chris Smith <[email protected]> >> Date: Wed Jun 15 22:15:17 2011 -0500 >> >> use ordered_iter and iterable >> >> This reverts commit 654cb9bc6d3bdab45d45a8ec2b41df358b5aa440 >> and adds a few more use cases. >> >> The problem is that sympify(newt) checks if it is an iterable using >> the iterable() function, and it thinks it is because it is indexable, >> but if you do, for example, list(newt), it just hangs, because it is >> trying to create [t[0], t[1], t[2], ...]. >> >> So iterable() needs to be fixed here, I think. > > Thanks very much for tracking that down. > > Best, > > Matthew > > -- > You received this message because you are subscribed to the Google Groups > "sympy" 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?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
