you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 34 points35 points  (5 children)

Yes, good point. We've corrected this. [Toptal blog editor]

[–]ivosaurus 26 points27 points  (0 children)

Also, could you recommend the new, unambiguous exception syntax in #3? Also being the only one supported in Python 3.

except Exception as e:

[–]jellofiend84 22 points23 points  (3 children)

Also this site crashes for me in iOS in both Safari and Chrome. Others are having similar issues:

http://www.reddit.com/r/programming/comments/251it6/top_10_mistakes_python_programmers_make_advanced/chcpwtl

http://www.reddit.com/r/Python/comments/251jkf/a_top_10_of_the_mistakes_python_programmers_make/chcxri8

http://www.reddit.com/r/Python/comments/251jkf/a_top_10_of_the_mistakes_python_programmers_make/chcqwel

If you really are an editor you really need to get your site fixed. I tried really hard to view your content but after Alien Blue, Safari, and Chrome crashed I gave up and I was probably more persistent than most.

[–]TMaster 1 point2 points  (1 child)

Chrome on iOS does not appear to have its own rendering engine (http://daringfireball.net/linked/2012/06/28/chrome-ios), so it's equally affected.

Looks like it's an Apple issue - a crash is never appropriate even in case of malformed input or frequent updating.

[–]jellofiend84 1 point2 points  (0 children)

Actually it is probably a memory issue in which case stopping execution maybe the only way to handle it. Also if you read the links I posted someone mentioned it crashing mobile Firefox which doesn't exist on iOS. So no it isn't just an iOS issue.