JuliaLang/julia — pull request #9508 by bkamins (2014-12-30 22:35:40+00:00)
Title: Default values function arguments vs Python

Julia and Python handle default values of function arguments differently. Julia evaluates them every time the function is called and in python they are evaluated only once when the function is defined. This is an important difference in behavior for people migrating to Julia from Python.