Скачал эту библиотеку http://feedparser.org/
и пытаюсь выполнить пример
import feedparser
python_wiki_rss_url = "http://www.python.org/cgi-bin/moinmoin/" \
"RecentChanges?action=rss_rc"
feed = feedparser.parse( python_wiki_rss_url )
AssertionError:код выполняю на питоне 2.6
File “d:\pyproj\python\rss_fetch.py”, line 5, in <module>
feed = feedparser.parse( python_wiki_rss_url )
File “d:\pyproj\python\feedparser.py”, line 2611, in parse
saxparser.parse(source)
File “c:\Python26\Lib\xml\sax\expatreader.py”, line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File “c:\Python26\Lib\xml\sax\xmlreader.py”, line 123, in parse
self.feed(buffer)
File “c:\Python26\Lib\xml\sax\expatreader.py”, line 207, in feed
self._parser.Parse(data, isFinal)
File “c:\Python26\Lib\xml\sax\expatreader.py”, line 656, in EndElement
File “c:\Python26\Lib\xml\sax\expatreader.py”, line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File “d:\pyproj\python\feedparser.py”, line 1403, in endElementNS
self.unknown_endtag(localname)
File “d:\pyproj\python\feedparser.py”, line 476, in unknown_endtag
method()
File “d:\pyproj\python\feedparser.py”, line 1193, in _end_title
value = self.popContent('title')
File “d:\pyproj\python\feedparser.py”, line 700, in popContent
value = self.pop(tag)
File “d:\pyproj\python\feedparser.py”, line 685, in pop
contentparams = copy.deepcopy(self.contentparams)
File “c:\Python26\Lib\copy.py”, line 171, in deepcopy
copier = getattr(x, “__deepcopy__”, None)
File “d:\pyproj\python\feedparser.py”, line 233, in __getattr__
assert not key.startswith('_')
проблема в том что интерпретатор 2.6 не может переварить библиотеку, т.к. она написана под старую версию интерпретатора?