At 04:25 PM 5/20/2007 +1000, Tim Delaney wrote: >I'm not sure what you're getting at here - are you referring to the >decorators for classes PEP? In that case, the decorator is applied >after the class is constructed, so it would be the undecorated class. > >Are class decorators going to update the MRO? I see nothing about >that in PEP 3129, so using the undecorated class would match the >current super(cls, self) behaviour. Class decorators can (and sometimes *do*, in PEAK) return an object that's not the original class object. So that would break super, which is why my inclination is to go with using the decorated result.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4