I watched the introduction video and the author made a surprising claim: that deciding if a string of characters is valid Python code is fundamentally simpler than deciding if it's valid code in some other language.
In more precise terms, the assertion is that Python's grammar belongs to the context-free class of languages in Chomsky's hierarchy.
Here's an interesting discussion about that and the more philosophical question "what is valid code?" on comp.theory: https://groups.google.com/forum/m/#!msg/comp.theory/nJzOyRnA...