[Python-Dev] PEP 549: Instance Properties (aka: module properties)

Sven R. Kunze srkunze at mail.de
Wed Sep 13 14:26:52 EDT 2017


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 at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/srkunze%40mail.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170913/bd9a083c/attachment.html>


More information about the Python-Dev mailing list