Georg Brandl wrote: > Greg Ewing schrieb: > >> A better solution to that might be to have UserString >> inherit from basestring. > > But with that argument you could throw out the whole ABC machinery, > just let all lists inherit from list, all dicts from dict, etc. Well, I'm skeptical about the whole ABC thing in the first place -- it all seems very unpythonic to me. But another way of thinking about it is that we already have an ABC of sorts for strings, and it's called basestring. It might be better to enhance that with whatever's considered missing than introducing another one. -- Greg
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