Roundup Robot added the comment:
New changeset 09ed1b3b54f3 by Serhiy Storchaka in branch '3.3':
Issue #19288: Fixed the in operator of dbm.gnu databases for string
http://hg.python.org/cpython/rev/09ed1b3b54f3
New changeset 379372612f6d by Serhiy Storchaka in branch 'default':
Issue #19288:
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19288
Serhiy Storchaka added the comment:
LGTM.
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19288
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
keywords: +easy, patch
stage: - patch review
Added file: http://bugs.python.org/file32227/issue19288.patch
___
Python tracker rep...@bugs.python.org
New submission from Arfrever Frehtes Taifersar Arahesis:
__contains__() of dbm.gnu databases fails with str.
This is inconsistent with other databases (dbm.ndbm (issue #19287) and
dbm.dumb).
$ python3.2 -c 'import dbm.ndbm; db=dbm.ndbm.open(/tmp/ndbm_db, c);
db[key]=value; print(bkey in