Re: datetime and the rich-companison operators

2008-12-08 Thread Ethan Furman
Chris Rebert wrote: On Sun, Dec 7, 2008 at 11:41 PM, Ethan Furman <[EMAIL PROTECTED]> wrote: Greetings All! I am implementing a NullDate class in order to mirror dates and datetimes that have no value (yes, this is for my dbf module :) I'm still a bit fuzzy about class methods, hashing, and

Re: datetime and the rich-companison operators

2008-12-08 Thread Chris Rebert
On Sun, Dec 7, 2008 at 11:41 PM, Ethan Furman <[EMAIL PROTECTED]> wrote: > Greetings All! > > I am implementing a NullDate class in order to mirror dates and datetimes > that have no value (yes, this is for my dbf module :) > > I'm still a bit fuzzy about class methods, hashing, and __new__, but

datetime and the rich-companison operators

2008-12-08 Thread Ethan Furman
Greetings All! I am implementing a NullDate class in order to mirror dates and datetimes that have no value (yes, this is for my dbf module :) I'm still a bit fuzzy about class methods, hashing, and __new__, but my question of the moment is this: it seems to me that with two dates or date