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

Alexander Belopolsky report at bugs.python.org
Fri Mar 25 14:14:08 EDT 2016


Alexander Belopolsky added the comment:

Python 3.6.0a0 (default:245a16f33c4b, Mar 25 2016, 14:11:43)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> if datetime.time(22, 15) > datetime.time(16, 0):
...     print('works for me')
...
works for me

----------
resolution:  -> works for me
stage: test needed -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list