Updates:
        Labels: -PassedReview NeedsBetterPatch

Comment #10 on issue 1960 by Vinzent.Steinberg: should repr form of geometry entities be the same as str?
http://code.google.com/p/sympy/issues/detail?id=1960

There is a problem:

srepr(Line(Point(2, 2), Point(0, 10)).intersection(Line(Point(0, 1), Point(8, 3))))
[Point(36/17, 26/17)]

vs.

srepr(Line(Point(2, 2), Point(0, 10)).intersection(Line(Point(0, 1), Point(8, 3))))
[Point(Rational(36, 17), Rational(26, 17))]

I think the second one (old behaviour) is correct, whereas the new one is not. It is ok to break repr() in sympy, but srepr() should still work.

I also get an infinite recursion here, but I'm not yet sure whether it's related to your patch.


--
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patc...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to