homepage

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.

Author vinay.sajip
Recipients eric.araujo, loewis, r.david.murray, vinay.sajip
Date 2012年03月02日.08:54:11
SpamBayes Score 8.537667e-05
Marked as misclassified No
Message-id <1330678452.32.0.00545007174355.issue14168@psf.upfronthosting.co.za>
In-reply-to
Content
Upon inspection, _ensure_attributes() is only called in _get_attributes(), setAttributeNode() and _set_attribute_node(). The last of these is only called by setAttributeNode(), and it would appear that setAttributeNode() is only called if there *are* attributes.
_get_attributes() is only called by writexml().
So, calls to public methods getAttribute(), getAttributeNS() and a few others are likely to fail because, if there are no attributes in the XML being processed, _ensure_attributes() wouldn't get called.
It looks like a bug to me! ;-)
History
Date User Action Args
2012年03月02日 08:54:12vinay.sajipsetrecipients: + vinay.sajip, loewis, eric.araujo, r.david.murray
2012年03月02日 08:54:12vinay.sajipsetmessageid: <1330678452.32.0.00545007174355.issue14168@psf.upfronthosting.co.za>
2012年03月02日 08:54:11vinay.sajiplinkissue14168 messages
2012年03月02日 08:54:11vinay.sajipcreate

AltStyle によって変換されたページ (->オリジナル) /