You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PeriodBuilder supports value equality and hashability. Why?
a. It's not particularly usual for builders to support these operations, since
they're almost never compared with other instances. (Also insert standard
comment about hashability for mutable values.)
b. PeriodBuilder actually supports a _different_ notion of equality from
Period, because absent values _are_ differentiated from zero values (while
they're not in Period).
Original issue reported on code.google.com by malcolm.rowe on 26 Jul 2012 at 2:31
The text was updated successfully, but these errors were encountered:
Hmm. I *suspect* it's for the sake of testing, which isn't a terribly good
argument really. That code could easily be within the test class. I agree it's
pretty odd.
Original comment by jonathan.skeet on 26 Jul 2012 at 6:18
Original issue reported on code.google.com by
malcolm.rowe
on 26 Jul 2012 at 2:31The text was updated successfully, but these errors were encountered: