Author serhiy.storchaka
Recipients Mark.Shannon, eric.snow, mpaolini, python-dev, rhettinger, serhiy.storchaka, terry.reedy
Date 2015-11-04.21:09:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446671346.75.0.342338986758.issue24726@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for your review Eric.

test_delitem_2 was not added because it fails in just added TestCase for COrderedDict subclass. Added tests for direct calls of other dict methods as Eric suggested.

During writing new tests for direct calls of other dict methods I found yet one bug. Following code makes Python to hang and eat memory.

from collections import OrderedDict
od = OrderedDict()
for i in range(10):
    od[str(i)] = i

for i in range(9):
    dict.__delitem__(od, str(i))

list(od)
History
Date User Action Args
2015-11-04 21:09:06serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, terry.reedy, Mark.Shannon, python-dev, eric.snow, mpaolini
2015-11-04 21:09:06serhiy.storchakasetmessageid: <1446671346.75.0.342338986758.issue24726@psf.upfronthosting.co.za>
2015-11-04 21:09:06serhiy.storchakalinkissue24726 messages
2015-11-04 21:09:06serhiy.storchakacreate