View Issue Details

IDProjectCategoryView StatusLast Update
0001152FreeCADBugpublic2013-06-17 09:21
Reportershoogen Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.14 
Summary0001152: The output of __repr__() of Vector and Rotatio would create Objects with different Values do to inapropriate rounding
Descriptionwhile the __str__ function is suitable for pretty formatted user output.
the __repr__ should:

object.__repr__(self) should allow to recreate the object exactly or not at all.
But It should not create an object with rounded values.

http://docs.python.org/2/reference/datamodel.html#object.__repr__
TagsNo tags attached.
FreeCAD Information

Activities

wmayer

2013-06-17 09:21

administrator   ~0003229

git show b63f9d7

Issue History

Date Modified Username Field Change
2013-06-16 08:30 shoogen New Issue
2013-06-17 09:21 wmayer Note Added: 0003229
2013-06-17 09:21 wmayer Status new => closed
2013-06-17 09:21 wmayer Resolution open => fixed
2013-06-17 09:21 wmayer Fixed in Version => 0.14