> > Can I now subclass from modules? And if so, what good does that do > > me? > > This seems to be a side effect of two things: > (1) Python 2.2 will accept anything as a base class > whose type is callable with the appropriate arguments, > and (2) types.ModuleType doesn't seem to care what > arguments you give it: Thanks for explaining this! (I've been away from this so long that it baffled me a bit. :-) I've fixed this by making the module constructor sane: it now requires a name and takes an optional docstring. --Guido van Rossum (home page: http://www.python.org/~guido/)
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