O'Reilly logo
  • Porter Doran thinks this is interesting:

Default argument values are calculated when the function is defined, not when it is run

From

Cover of Introducing Python

Note

i.e., are used only the first time the function is run