
Dec. 31, 2016
7:33 a.m.
On 31 December 2016 at 05:53, Ethan Furman <ethan@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@gmail.com | Brisbane, Australia