[issue26591] datetime datetime.time to datetime.time comparison does nothing

jason crockett report at bugs.python.org
Sat Mar 19 03:48:41 EDT 2016


New submission from jason crockett:

if datetime.time(#blah) > datetime.time(#blah):
      [a]                        [b]

does nothing.. it doesnt raise an error. it doesnt run the if function even though the printout of variables compared says it should.

22:15:00 [a]
16:00:00 [b]
True
22:20:00
16:00:00
True
22:25:00
16:00:00

----------
components: Extension Modules
messages: 262027
nosy: jason crockett
priority: normal
severity: normal
status: open
title: datetime datetime.time to datetime.time comparison does nothing
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26591>
_______________________________________


More information about the Python-bugs-list mailing list