Eric Olson added the comment: Uploading patch with minor test changes (dbm_bool_b.patch).
Backwards compatibility note: Result of running bool(db) on a db that has been closed: Old: _dbm.error: DBM object has already been closed With patch: returns False instead of raising. I think this is desireable, but we could have bool(db) raise an exception when the db is closed if that is preferred for backwards compatibility. ---------- Added file: http://bugs.python.org/file34886/dbm_bool_b.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2159> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com