[issue14168] Bug in minidom 3.3 after optimization patch

2012-03-04 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14168] Bug in minidom 3.3 after optimization patch

2012-03-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73c76466cf44 by Martin v. Löwis in branch 'default': Issue #14168: Check for presence of _attrs before accessing it. http://hg.python.org/cpython/rev/73c76466cf44 -- nosy: +python-dev ___ Python tracker

[issue14168] Bug in minidom 3.3 after optimization patch

2012-03-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Instead of calling _ensure_attributes (which creates the attribute dictionaries), getAttribute should return "" immediately if there are no attributes at all, to avoid creating those dictionaries. I'll do a patch shortly, unless somebody beats me. -

[issue14168] Bug in minidom 3.3 after optimization patch

2012-03-02 Thread Éric Araujo
Éric Araujo added the comment: Agreed :) Needs unit tests that use the public attributes. -- keywords: +easy -3.2regression stage: -> needs patch title: minidom behaves differently in 3.3 compared to 3.2 -> Bug in minidom 3.3 after optimization patch