Commit Graph

7 Commits

Author SHA1 Message Date
Georg Brandl d9e833c70a #6045: provide at least get() and setdefault() for all dbm modules. 2010-12-04 09:14:36 +00:00
Benjamin Peterson 577473fe68 use assert[Not]In where appropriate
A patch from Dave Malcolm.
2010-01-19 00:09:57 +00:00
Benjamin Peterson c9c0f201fe convert old fail* assertions to assert* 2009-06-30 23:06:06 +00:00
Kristján Valur Jónsson 42a40c59a0 Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows. 2009-04-01 11:28:47 +00:00
Brett Cannon 45dea65b39 Fix a broken test_dbm_gnu as introducted by r67380. 2008-11-25 21:27:00 +00:00
Brett Cannon 7317c1ef7a dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For the
former they are converted to bytes before being written to the DB.

Closes issue 3799. Reviewed by Skip Montanaro.
2008-11-25 19:19:17 +00:00
Georg Brandl 0a7ac7d70d Create the dbm package from PEP 3108. #2881. 2008-05-26 10:29:35 +00:00