Martin v. Löwis <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue14168>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to