The “does Python have variables?” debate

Marko Rauhamaa marko at pacujo.net
Wed May 7 10:20:28 EDT 2014


Chris Angelico <rosuav at gmail.com>:

> That's because, while you can *think of* Python name bindings as being
> like dict key/value pairs, they aren't always that. Function locals,
> class locals, and other such namespaces aren't necessarily implemented
> with dicts. They're conceptually still a "dictionary" of sorts, but
> you can't actually pass anyone a dict and key and expect it to work.

I see that as a glitch in the Matrix.


Marko



More information about the Python-list mailing list