]> granicus.if.org Git - python/commit
Backport 58532, 58533, 58534:
authorGregory P. Smith <greg@mad-scientist.com>
Thu, 18 Oct 2007 17:15:20 +0000 (17:15 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Thu, 18 Oct 2007 17:15:20 +0000 (17:15 +0000)
commit0dcc3cc94926c76223d41a0b36f4c0792ec47089
treea43760cf95e0affb91fb3af33e20d79cddff3d98
parent574e1ba814b19aafa93519f953529b35aab9fa12
Backport 58532, 58533, 58534:
 - Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by
   picking a rowid string with null bytes in it.  Such rows could not
   later be deleted, modified or individually selected.  Existing
   bsdTableDb databases created with such rows are out of luck.
 - Use mkdtemp for the test_dbtables test database environment and
   clean it up afterwards using shutil.rmtree.
Lib/bsddb/dbtables.py
Lib/bsddb/test/test_dbtables.py
Misc/NEWS