On Thu, Oct 10, 2013 at 3:36 PM, Steven D'Aprano <st...@pearwood.info> wrote:
> Just came across this little Javascript gem:
>
> ",,," == Array((null,'cool',false,NaN,4));
>
> => evaluates as true
>
> http://wtfjs.com/2011/02/11/all-your-commas-are-belong-to-Array
>
> I swear, I am never going to complain about Python again.

*blank look*

Wow.

Now, is there a situation in which this problem can actually crop up
in production code? And is it as serious as PHP's treatment of
hexadecimal hashes (eg that "100"== "1E2")?

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to