, , , , None, ( object.updated_date, None):
if None in (past, object.updated_date) or object.updated_date >= past:
object.updated_date = now
, None in (past, object.updated_date) , (past is None or object.update_date is None) (, , , , ).
, ;-), ( ..). object - - , . obj , (, ;-), . "" "" , ( , , ), ; , /... .
I understand that many of the names of the built-in Python modules are "attractive nuisance" in the sense of ... file, object, list, dict, set, min, max... everything visible attractive name for the "File", "object", "list", etc. But you should learn to resist this particular temptation! -)