Re: [Python-Dev] PEP 573 -- Module State Access from C Extension Methods

2018年4月26日 07:54:33 -0700

On 2018年04月26日 16:37, Nick Coghlan wrote:
PEP 487 refers to this as the "owner" of a descriptor
That's just copied from the Python docs:
https://docs.python.org/3.8/reference/datamodel.html#object.__get__
Anyway, I never liked the name "owner" there, "cls" would have been much clearer. For PEP 575, I thought of "owner" too, but I don't like it because it sounds too possessive. It sounds like the "owner" somehow has complete control over the function and I don't want that association.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to