zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #01382
Re: [Bug 614295] Re: TimeRange.always() is inconsistent
2010/8/6 Mikkel Kamstrup Erlandsen <mikkel.kamstrup@xxxxxxxxx>:
> Regarding change of timestamp signature: What's the technical argument
> for breaking API (and breaking it in a big way)?
I don't really think we should break it now (just saying that it'd
make more sense, but in practice I don't think it'll make a
difference).
--
TimeRange.always() is inconsistent
https://bugs.launchpad.net/bugs/614295
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
Status in Zeitgeist Framework: New
Bug description:
There's an inconsistency in TimeRange.always() produced by ZG and libzg. ZG uses (-maxint, maxint), while libzg uses (0, maxint). This introduces incompabilities when using ZG's TimeRange.is_always(), where it'll return True for ZG's TimeRanges and False for libzg's TimeRanges.
Our mightly leader Seif decided that ZG should also use (0, maxint), so this is a reminder to change it for the next release.
References