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 eolson
Recipients eolson, jafo, jcea, johansen, ysj.ray
Date 2014-04-15.18:54:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397588058.01.0.429062473761.issue2159@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-04-15 18:54:18eolsonsetrecipients: + eolson, jafo, jcea, johansen, ysj.ray
2014-04-15 18:54:18eolsonsetmessageid: <1397588058.01.0.429062473761.issue2159@psf.upfronthosting.co.za>
2014-04-15 18:54:17eolsonlinkissue2159 messages
2014-04-15 18:54:17eolsoncreate