[issue31398] TypeError: gdbm key must be string, not unicode

sds report at bugs.python.org
Fri Sep 8 17:00:21 EDT 2017


sds added the comment:

the problem is not present in 
Python 3.6.2 (default, Jul 17 2017, 16:44:45):
```
>>> import dbm
>>> import dbm.gnu
>>> db = dbm.gnu.open("foo","c")
>>> "a" in db
False
>>> u"a" in db
False
```

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31398>
_______________________________________


More information about the Python-bugs-list mailing list