Python type annotations were added to be used by an external type checker, so no they are not enforced by the interpreter itself. This was an explicit decision: https://peps.python.org/pep-0484/#non-goals
> I don't see the difference honestly. both are pretty loose. There's a clear difference, in PHP 1 + "1" is 2, in Python it's a TypeError, (and as a bonus, in Javascript 1 + "1" is "11"). The definition of "strongly…
Would be interested to see how cl-ppcre compares as I've often heard people praise its performance.
Python type annotations were added to be used by an external type checker, so no they are not enforced by the interpreter itself. This was an explicit decision: https://peps.python.org/pep-0484/#non-goals
> I don't see the difference honestly. both are pretty loose. There's a clear difference, in PHP 1 + "1" is 2, in Python it's a TypeError, (and as a bonus, in Javascript 1 + "1" is "11"). The definition of "strongly…
Would be interested to see how cl-ppcre compares as I've often heard people praise its performance.