Author kousu
Recipients kousu
Date 2013-10-18.07:45:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382082310.98.0.0309554787542.issue19282@psf.upfronthosting.co.za>
In-reply-to
Content
This code doesn't work. I think it should.

import dbm
with dbm.open("what is box.db", "c") as db:
   db["Bpoind"] = Boing

Indeed, there is nothing supporting PEP 343 for dbm on my system:
[kousu@galleon ~]$ grep -r __exit__ /usr/lib/python3.3/dbm             
[kousu@galleon ~]$
History
Date User Action Args
2013-10-18 07:45:11koususetrecipients: + kousu
2013-10-18 07:45:10koususetmessageid: <1382082310.98.0.0309554787542.issue19282@psf.upfronthosting.co.za>
2013-10-18 07:45:10kousulinkissue19282 messages
2013-10-18 07:45:10kousucreate