remove the ability of datetime.time to be considered false (closes #13936)

This commit is contained in:
Benjamin Peterson 2014-03-20 18:00:35 -05:00
parent 265ae86414
commit ee6bdc07d6
6 changed files with 20 additions and 64 deletions

View file

@ -186,4 +186,7 @@ Porting to Python 3.5
This section lists previously described changes and other bugfixes
that may require changes to your code.
* Nothing yet.
* Before Python 3.5, a :class:`datetime.time` object was considered to be false
if it represented midnight in UTC. This behavior was considered obscure and
error-prone and has been removed in Python 3.5. See :issue:`13936` for full
details.