[New-bugs-announce] [issue6442] Backwards __contains__/has_key in xml/sax/xmlreader.py

Corbin Simpson report at bugs.python.org
Thu Jul 9 00:47:17 CEST 2009

New submission from Corbin Simpson <MostAwesomeDude at gmail.com>:

Not a big deal, but these two methods were backwards in AttributesImpl
in xml/sax/xmlreader.py, and it was causing fun little problems in some
of my code on Python 2.6.0, so I decided to whip up a patch.

(Of course, this is fixed in Py3k since has_key() got nuked.)

~ C.

components: Library (Lib)
files: temp.patch
keywords: patch
messages: 90290
nosy: MostAwesomeDude
severity: normal
status: open
title: Backwards __contains__/has_key in xml/sax/xmlreader.py
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file14475/temp.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list