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.

classification
Title: xml.AttributesImpl: __setitem__ undef.
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: doko, loewis
Priority: normal Keywords:

Created on 2001-12-20 23:46 by doko, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Messages (3)
msg8397 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2001-12-20 23:46
[please CC 120343@bugs.debian.org on replies; the 
complete report can be seen at 
http://bugs.debian.org/120343]

xml.sax.xmlreader.AttributesImpl does not have a 
__setitem__ defined.
The definition is trivial (or AttributesImpl could be 
written to extend
UserDict), but its lack is a minor annoyance when 
writing an XML filter.
msg8398 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-12-22 15:13
Logged In: YES 
user_id=21627

Why is this a bug? The Attributes interface in SAX is
inherently read-only, both in Java and in Python. For a
filter, write a new dictionary containing all the values
that you want to forward, and create an AttributesImpl
instance from this dictionary.
msg8399 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-27 22:10
Logged In: YES 
user_id=21627

Closing as not-a-bug.
History
Date User Action Args
2022-04-10 16:04:48adminsetgithub: 35806
2001-12-20 23:46:19dokocreate