[Python-ideas] PEP 526: why ClassVar instead of ClassAttr?

Juancarlo Añez apalala at gmail.com
Tue May 16 22:54:27 EDT 2017

On Tue, May 16, 2017 at 10:10 PM, Guido van Rossum <guido at python.org> wrote:

> It's "class variable" because we (at least I) also routinely use "instance
> variable".

It is `getattr()`, `setattr()`, and a very long etc. in Python.

I agree with the OP that a sudden talk about "vars"  is confusing, more so
when Python doesn't have "vars", but "names"  (etc.).


Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170516/d1f4429a/attachment-0001.html>

More information about the Python-ideas mailing list