[Python-Dev] UserDict in 2.7 (original) (raw)
Raymond Hettinger raymond.hettinger at gmail.com
Wed Jun 23 01:17:54 CEST 2010
- Previous message: [Python-Dev] UserDict in 2.7
- Next message: [Python-Dev] UserDict in 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jun 22, 2010, at 3:59 PM, Michael Foord wrote:
On 23/06/2010 00:03, Greg Ewing wrote:
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? Inheriting from list or dict isn't very useful as you to have to override every method to control behaviour.
Benjamin fixed the UserDict and ABC problem earlier today in r82155. It is now the same as it was in Py2.6. Nothing to see here. Move along.
Raymond
- Previous message: [Python-Dev] UserDict in 2.7
- Next message: [Python-Dev] UserDict in 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]