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 kousu
Recipients kousu
Date 2013-10-18.07:45:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This code doesn't work. I think it should.

import dbm
with"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 ~]$
Date User Action Args
2013-10-18 07:45:11koususetrecipients: + kousu
2013-10-18 07:45:10koususetmessageid: <>
2013-10-18 07:45:10kousulinkissue19282 messages
2013-10-18 07:45:10kousucreate