On Jan 8, 2014, at 8:55 PM, limodou <limo...@gmail.com> wrote:

> 
> Yes, I saw the code about 0.8.X and 0.9.1, the None convertion are the same. 
> But difference between them is in AND process. So this "inconsistent" that 
> you mean it's a bug in 0.8?

it’s a bug in 0.8, yes.

> 
> I think raise exception maybe better, so that it'll let user to know what 
> wrong with the condition. Otherwise some code like condition & None can run 
> in 0.8.X very well, but in 0.9 it'll only return nothing without any error 
> thrown at all. It will break the old code.

well we can’t change 0.8 to raise, so raising an exception in 0.9 wouldn’t 
solve much as far as cross-compatibility.   I don’t think this pattern is that 
common in any case.




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to