[Python-ideas] AtributeError inside __get__

Nick Coghlan ncoghlan at gmail.com
Sat Dec 31 02:33:52 EST 2016


On 31 December 2016 at 05:53, Ethan Furman <ethan at 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   |   ncoghlan at gmail.com   |   Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20161231/4df77255/attachment.html>


More information about the Python-ideas mailing list