> I must admit I'm having a bit of trouble getting past this point with a more > traditional subclass (can array objects not be subclassed?) in part I think > because I don't understand new-style classes very well. In particular, I > couldn't find a description of __new__, and once I fumbled past that, I > didn't seem to be able to override append() or extend(). Alas, the array type doesn't seem completely fit for subclassing; I tried similar things and couldn't gt it to work! Even more mysterious is that the array implementation appears to support the buffer API and yet it can't be used as an argument to write(). What's going on? -- --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