[New-bugs-announce] [issue9372] pulldom.DOMEventStream.__getitem__ is broken
report at bugs.python.org
Sat Jul 24 15:04:53 CEST 2010
New submission from Mark Smith <mark.smith at practicalpoetry.co.uk>:
DOMEventStream implements __getitem__, but ignores the index/key that is passed in and simply returns the next item from the stream. This is seriously unexpected behaviour.
I don't believe this functionality can be sensibly implemented in this class, and plan to submit a patch deprecating this method.
title: pulldom.DOMEventStream.__getitem__ is broken
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce