branches with status:
Name Status Last Modified Last Commit
lp:~hobs/pyexiv2/pyexiv2 bug 1 Development 2012-04-02 06:02:13 UTC
382. Eleminated debugging print of numerat...

Author: Hobson Lane
Revision Date: 2012-04-02 06:02:13 UTC

Eleminated debugging print of numerator,denominator in, which debugged some errors with divide by zero in rational type conversion and attempts to convert non-fractions to Rational type (integers). Rather than throwing an exception, conversion to Rational type now assumes a 1 in the denominator whenever it's zero or not-given

lp:~hobs/pyexiv2/workarounds bug 1 Development 2011-07-19 22:29:46 UTC
361. Added __repr__ method in utils.Ration...

Author: Hobson Lane
Revision Date: 2011-07-19 22:29:46 UTC

Added __repr__ method in utils.Rational class so that printing arrays of Rational objects like print([Rational(1,2),Rational(3,4)]) display the object values rather than its trace (name, rank, and serial number :).

12 of 2 results