Benjamin Peterson wrote: > IIRC this was because UserDict tries to be a MutableMapping but abcs > require new style classes. Are there any use cases for UserList and UserDict in new code, now that list and dict can be subclassed? If not, I don't think it would be a big problem if they were left out of the ABC ecosystem. No worse than what happens to any other existing user-defined class that predates ABCs -- if people want them to inherit from ABCs, they have to update their code. In this case, the update would consist of changing subclasses to inherit from list or dict instead. -- 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