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.

Author berker.peksag
Recipients Arfrever, berker.peksag, loewis, vajrasky
Date 2013-10-19.11:16:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382181377.27.0.53177308563.issue19287@psf.upfronthosting.co.za>
In-reply-to
Content
> What about dbm.dumb?

dbm.dumb works fine with str:

$ python3.3 -c 'from dbm import dumb; db=dumb.open("/tmp/db2", "c"); db["key"]="value"; print(b"key" in db); print("key" in db)'
True
True

$ ./python -c 'from dbm import dumb; db=dumb.open("/tmp/db2", "c"); db["key"]="value"; print(b"key" in db); print("key" in db)'
True
True

http://hg.python.org/cpython/file/47618b00405b/Lib/dbm/dumb.py#l217
History
Date User Action Args
2013-10-19 11:16:17berker.peksagsetrecipients: + berker.peksag, loewis, Arfrever, vajrasky
2013-10-19 11:16:17berker.peksagsetmessageid: <1382181377.27.0.53177308563.issue19287@psf.upfronthosting.co.za>
2013-10-19 11:16:17berker.peksaglinkissue19287 messages
2013-10-19 11:16:17berker.peksagcreate