[New-bugs-announce] [issue17926] PowerLinux dbm failure in 2.7

David Edelsohn report at bugs.python.org
Tue May 7 17:30:25 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17926>
_______________________________________


More information about the New-bugs-announce mailing list