Skip to content Skip to sidebar Skip to footer
Showing posts with the label Language Design

Loose Late Binding V. Strict Late Binding

While reading Python’s Execution model documentation, I realized that Python’s free variables do no… Read more Loose Late Binding V. Strict Late Binding

"least Astonishment" And The Mutable Default Argument

Anyone tinkering with Python long enough has been bitten (or torn to pieces) by the following issue… Read more "least Astonishment" And The Mutable Default Argument

Why Can't I Add A Tuple To A List With The '+' Operator In Python?

Python not support adding a tuple to a list: >>> [1,2,3] + (4,5,6) Traceback (most recent … Read more Why Can't I Add A Tuple To A List With The '+' Operator In Python?