[issue9523] Improve dbm modules
Ray.Allen
report at bugs.python.org
Thu Dec 9 14:56:46 CET 2010
Ray.Allen <ysj.ray at gmail.com> added the comment:
Here is the updated patch, which fixed:
1. remove get() method of gdbm since issue6045 has already add it.
2. method keys() and items() of dbm object return set instead of list. Since pep3119 said keys() and items() should return collections.Set and set is a collections.Set.
3. add update() method to dbm object, which follows implementation in collections.MutableMapping.update().
----------
Added file: http://bugs.python.org/file19987/issue_9523.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9523>
_______________________________________
More information about the Python-bugs-list
mailing list