some issues in DvCount

Bug #610984 reported by Sergio Miranda Freire on 2010-07-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

It seems that it is not necessary to test for the type of magnitude in the initializer.

The initializer lacks the magnitudeStatus argument and so does the superclass initializer.

The methods compare ("<") and isStrictlyComparable are not implemented.

The methods add and subtract in DvAmount may be implemented by calling the methods __add__ and __sub__ respectively.

The method negate should be defined in DvAmount.

It would be interesting to define a representation value for this class, wouldn't it?

Related branches

Changed in oship:
importance: Undecided → High
milestone: none → 1.5
affects: oship → oshippy
Changed in oshippy:
milestone: 1.5 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers