This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author David.Edelsohn
Recipients David.Edelsohn
Date 2013-05-07.15:30:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367940625.16.0.48858198554.issue17926@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-05-07 15:30:25David.Edelsohnsetrecipients: + David.Edelsohn
2013-05-07 15:30:25David.Edelsohnsetmessageid: <1367940625.16.0.48858198554.issue17926@psf.upfronthosting.co.za>
2013-05-07 15:30:25David.Edelsohnlinkissue17926 messages
2013-05-07 15:30:24David.Edelsohncreate