[Python-ideas] PEP 526: why ClassVar instead of ClassAttr?
Steven D'Aprano
steve at pearwood.info
Wed May 17 05:03:30 EDT 2017
More information about the Python-ideas mailing list
Wed May 17 05:03:30 EDT 2017
- Previous message (by thread): [Python-ideas] PEP 526: why ClassVar instead of ClassAttr?
- Next message (by thread): [Python-ideas] PEP 526: why ClassVar instead of ClassAttr?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, May 16, 2017 at 10:11:31PM -0700, Guido van Rossum wrote: > There was another reason too. Many things are "class attributes" e.g. > methods, descriptors. But only specific things are class *variables*. Ah, that's a good reason. I can live with that. Thanks for the explanation. -- Steve
- Previous message (by thread): [Python-ideas] PEP 526: why ClassVar instead of ClassAttr?
- Next message (by thread): [Python-ideas] PEP 526: why ClassVar instead of ClassAttr?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list