New submission from David Edelsohn:

The PowerLinux buildslave fails in test_dbm:test_keys() because of a problem 
with the "in" operator.

>>> import dbm
>>> d = dbm.open('t','c')
>>> a = [('a', 'b'), ('12345678910', '019237410982340912840198242')]
>>> for k,v in a:
...     d[k] = v
... 
>>> print d
<dbm.dbm object at 0x3fff93073110>
>>> print d.keys()
['a', '12345678910']
>>> print 'a' in d
False      <--- This apparently should be True
>>> print 'a' in d.keys()
True

----------
components: Interpreter Core
messages: 188666
nosy: David.Edelsohn
priority: normal
severity: normal
status: open
title: PowerLinux dbm failure in 2.7
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to