On 31 December 2016 at 05:53, Ethan Furman <et...@stoneleaf.us> wrote:

> On 12/30/2016 07:10 AM, Chris Angelico wrote:
>
> Actually, that makes a lot of sense. And since "property" isn't magic
>> syntax, you could take it sooner:
>>
>> from somewhere import property
>>
>> and toy with it that way.
>>
>> What module would be appropriate, though?
>>
>
> Well, DynamicClassAttribute is kept in the types module, so that's
> probably the place to put optionalproperty as well.
>

I'd also be OK with just leaving it as a builtin.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to