A Python-Esque Type System for Python: Duck Typing Statically

I think the mypy static type checker is a fantastic initiative, and absolutely love it. My one complaint is that it relies a little too much on subclassing f…

Similar

Python’s for Loop Explained

Have you ever thought about how the for loop is implemented in Python? I always thought it would iterate over all elements in the sequence, like it does, but that first it would query the sequence to know its length and then request that many elements. Tu... (more…)

Read more »