This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年02月05日 01:32 by christian.heimes, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg62058 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2008年02月05日 01:32 | |
See r60577 |
|||
| msg62063 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2008年02月05日 08:12 | |
The difference is the underlying methods. DictMixin depended on getitem, setitem, delitem, and keys. MutableMapping doesn't need keys but wants __iter__ and __len__. Also, DictMixin did not insist on all of those being present, while MutableMapping won't let you skip any (with delitem being the one most likely omitted). |
|||
| msg62221 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2008年02月09日 13:18 | |
Perhaps the best we can do is a warning from the DictMixin constructor in 2.6 when the -3 flag is specified? |
|||
| msg62234 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2008年02月09日 20:25 | |
We should hold off on this one for a bit until I can get feedback on whether UserDict, UserString, and UserList should all be in the same place (in the own modules or rolled into collections). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:30 | admin | set | github: 46296 |
| 2008年08月21日 22:24:06 | benjamin.peterson | set | status: open -> closed resolution: duplicate superseder: Write UserDict fixer for 2to3 |
| 2008年02月09日 20:25:47 | rhettinger | set | messages: + msg62234 |
| 2008年02月09日 13:18:19 | ncoghlan | set | nosy:
+ ncoghlan messages: + msg62221 |
| 2008年02月05日 08:12:01 | rhettinger | set | nosy:
+ rhettinger messages: + msg62063 |
| 2008年02月05日 01:32:30 | christian.heimes | create | |