Guido: > Except that sometimes you really do want x.__class__.__classdict__ to > have priority (e.g. for "guarded" attributes). What's a "guarded" attribute? > But the issue of backwards compatibility is a big one here I was thinking that, while this is still in the __future__, the __dict__ attribute would be a pseudo-dict that, by default, behaves like the union of the old __dict__ and the __classdict__. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
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