Author ncoghlan
Recipients Andreas.Pelme, Lakin.Wecker, belopolsky, cvrebert, eric.araujo, georg.brandl, gwrtheyrn, lemburg, ncoghlan, r.david.murray, shai, tim.peters
Date 2014-03-05.22:36:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394058982.1.0.886985023536.issue13936@psf.upfronthosting.co.za>
In-reply-to
Content
Rewording the issue title and reopening based on the python-ideas thread. The rationale for making this change is that the current behaviour converts a stylistic problem in checking values against a sentinel via "bool(value)" instead of "value is not None" into a subtle data driven behavioural bug that only occurs exactly at midnight UTC.

If someone wants to write the patch to deprecate this behaviour in Python 3.5 (reporting a deprecation warning whenever midnight is interpreted as False, perhaps suggesting the use of "is" or "is not" instead), and then actually change the behaviour in 3.6, I don't believe we should actively oppose them from doing so.
History
Date User Action Args
2014-03-05 22:36:22ncoghlansetrecipients: + ncoghlan, lemburg, tim.peters, georg.brandl, belopolsky, eric.araujo, r.david.murray, cvrebert, gwrtheyrn, Lakin.Wecker, shai, Andreas.Pelme
2014-03-05 22:36:22ncoghlansetmessageid: <1394058982.1.0.886985023536.issue13936@psf.upfronthosting.co.za>
2014-03-05 22:36:21ncoghlanlinkissue13936 messages
2014-03-05 22:36:21ncoghlancreate