Martin v. Löwis <mar...@v.loewis.de> 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14168> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com