[issue1730480] dict init/update accesses internal items of dict derivative

2010-08-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Terry. This is just a fact of life when subclassing builtins. The objects are "open-for-extension, closed-for-modification". If you want more direct control use UserDict. -- nosy: +rhettinger ___ Pyt

[issue1730480] dict init/update accesses internal items of dict derivative

2010-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is documented that access to special methods is more direct than normal path. This is not going to change. A similar example was discussed on python-list earlier this year with the above conclusion. -- nosy: +terry.reedy resolution: -> rejected st

[issue1730480] dict init/update accesses internal items of dict derivative

2009-04-06 Thread Daniel Diniz
Daniel Diniz added the comment: IIRC, the same behavior is present for subclasses of other builtin types. -- nosy: +ajaksu2 stage: -> test needed type: -> feature request versions: +Python 2.7, Python 3.1 ___ Python tracker