This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients Amber.Yust, Andreas.Pelme, Lakin.Wecker, belopolsky, cvrebert, dstufft, eric.araujo, georg.brandl, gwrtheyrn, lemburg, ncoghlan, r.david.murray, shai, tim.peters, yselivanov
Date 2014-03-06.02:33:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394073232.69.0.0862396053488.issue13936@psf.upfronthosting.co.za>
In-reply-to
Content
> So in that case your example using midnight as false is even more
> confusing and even more wrong than not using ``is None`` on the
> conditional check.

I should have added that dt is a datetime instance and therefore dt.time() is None is always false.
History
Date User Action Args
2014-03-06 02:33:52belopolskysetrecipients: + belopolsky, lemburg, tim.peters, georg.brandl, ncoghlan, eric.araujo, r.david.murray, cvrebert, gwrtheyrn, Lakin.Wecker, yselivanov, shai, dstufft, Andreas.Pelme, Amber.Yust
2014-03-06 02:33:52belopolskysetmessageid: <1394073232.69.0.0862396053488.issue13936@psf.upfronthosting.co.za>
2014-03-06 02:33:52belopolskylinkissue13936 messages
2014-03-06 02:33:52belopolskycreate