New submission from Mark Smith <mark.sm...@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. ---------- components: XML messages: 111475 nosy: mark.smith priority: normal severity: normal status: open title: pulldom.DOMEventStream.__getitem__ is broken versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9372> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com