[Python-ideas] AtributeError inside __get__

Ethan Furman ethan at stoneleaf.us
Fri Dec 30 14:53:33 EST 2016


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.

--
~Ethan~


More information about the Python-ideas mailing list