Re: [Python-ideas] singledispatch for instance methods
Any updates with a singledispatch for methods? On Tue, Sep 20, 2016, 5:49 PM Bar Harelwrote: > At last! Haven't used single dispatch exactly because of that. Thank you > savior! > +1 > > On Tue, Sep 20, 2016, 6:03 AM Tim Mitchell > wrote: > >>
Re: [Python-ideas] AtributeError inside __get__
> There are a lot of entirely valid properties that look something like this: > > > @property > def attr(self): > try: > return data_store[lookup_key] > except KeyError: > raise AttributeError("attr") But wouldn't something like this be implemented