[issue2789] Comparsion datetime objects with None

2008-05-09 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: You actually have it backwards ;-) The arbitrary responses to nonsensical cross-class order comparisons found in 1.x and 2.x are now considered a design bug. They are disappearing in 3.0. Datetime is a fairly recent module (new in 2.3) writ

[issue2789] Comparsion datetime objects with None

2008-05-09 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2789] Comparsion datetime objects with None

2008-05-07 Thread Alexandr Zamaraev
New submission from Alexandr Zamaraev <[EMAIL PROTECTED]>: When comparing any standard objects with None returned True or False. When comparing the object of the module datetime with None raised exception TypeError. Example Python session: Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1