Why not adding both? Properties do have their uses as does __getattr__. Cheers, Sven On 13.09.2017 11:43, Larry Hastings wrote:
On 09/12/2017 12:38 AM, Larry Hastings wrote:
On 09/11/2017 07:22 PM, Guido van Rossum wrote:
The prototype is linked to from the PEP; for your convenience here's a link:
https://github.com/larryhastings/cpython/tree/module-properties <https://github.com/larryhastings/cpython/tree/module-properties>
I found that link in the PEP, but it's just a branch of a fork of cpython. It would be easier to review the prototype as a PR to upstream cpython.
Okay, I'll make a PR tomorrow and post a reply here (and update the PEP).
PR is here:
https://github.com/python/cpython/pull/3534
Cheers,
//arry/
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/srkunze%40mail.de