Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: The error which prompted this issue was not caused by external code peeking into the internals - it was just my toy test script which did that. The error came up in Django testing:
====================================================================== ERROR: test_secure_urls (regressiontests.syndication.tests.SyndicationFeedTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/vinay/projects/django3/tests/regressiontests/syndication/tests.py", line 255, in test_secure_urls if link.getAttribute('rel') == 'self': File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/xml/dom/minidom.py", line 727, in getAttribute return self._attrs[attname].value TypeError: 'NoneType' object is not subscriptable So, perhaps there is a missing _ensure_attributes() call somewhere. ---------- _______________________________________ 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