[Python-ideas] Please reconsider the Boolean evaluation of midnight

Antoine Pitrou solipsis at pitrou.net
Thu Mar 6 15:39:38 CET 2014


Le 06/03/2014 15:33, Stephen J. Turnbull a écrit :
> I don't care if the change is made, but I hope it will be made
> absolutely clear that it's purely to work around *old* bugs that may
> never get fixed, and that "if var:" which is actually testing for
> identity with a false-y sentinel is still strongly discouraged.

Why "strongly discouraged"? This is more of a style issue than anything 
else?

Regards

Antoine.




More information about the Python-ideas mailing list