Late-binding of function defaults (was Re: What is a function parameter =[] for?)

Marko Rauhamaa marko at pacujo.net
Wed Nov 25 03:43:34 EST 2015


Chris Angelico <rosuav at gmail.com>:

> At some point, you have to simply accept that this is how the system
> works.. or use a different system. (Octal maybe.) If you are
> perpetually confused by Python, you need to either learn how Python
> works, or use something else.

You are mixing two things: protesting and being confused. Protesting
about a fundamental tenet is of no use, but talking about confusion
might help.

One psychological problem I'm seeing in many answers here is that people
seem to want to defend the honor of Python. It's very religion-like. New
potential converts are welcomed with open arms but when they start to
ask awkward questions, they are treated as suppressive persons.


Marko



More information about the Python-list mailing list