[issue6045] Fix dbm interfaces
"Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za
"Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za
Sun May 17 13:05:36 CEST 2009
Martin v. Löwis <martin at v.loewis.de> added the comment:
> So, either we remove the claim that they have a dict-style interface
> beyond __*item__() and keys(), or we do something about it.
I disagree that this is release-critical. I think it is desirable to
say that the dbm modules support most of a dict-style interface,
and I also think that it is factually correct to claim that they
currently do.
The problem with the current documentation is that it apparently stopped
documenting the "dict-style interface", in the sense
http://www.python.org/doc/2.5/lib/typesmapping.html
did. Instead, the documentation now only documents the dict type itself.
If a dict-style interface was specified, one would have to specify
whether returning views from keys/values/items is part of the dict-style
interface or not.
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6045>
_______________________________________
More information about the Python-bugs-list
mailing list