>>>>> "greg" == <greg@cosc.canterbury.ac.nz> writes: | 1) Make the __dict__ attribute special, so that accessing | it always bypasses __findattr__. You're not far from what I came up with right after our delicious lunch. We're going to invent a new protocol which passes __dict__ into the method as an argument. That way self.__dict__ doesn't need to be special cased at all because you can get at all the attributes via a local! So no recursion stop hack is necessary. More in the updated PEP and patch. -Barry
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