Author: neal.norwitz
Date: Fri Aug 24 00:06:07 2007
New Revision: 57358
Modified:
python/branches/py3k/Lib/dumbdbm.py
Log:
Fix test_shelve when it uses dumbdbm. Found and fixed by Larry Hastings.
Modified: python/branches/py3k/Lib/dumbdbm.py
==============================================================================
--- python/branches/py3k/Lib/dumbdbm.py (original)
+++ python/branches/py3k/Lib/dumbdbm.py Fri Aug 24 00:06:07 2007
@@ -203,6 +203,7 @@
return self._index.keys()
def __contains__(self, key):
+ key = key.decode("latin-1")
return key in self._index
def iterkeys(self):
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins