listparser now has a unified codebase
Posted 19 April 2012 in listparserlistparser now supports both Python 2 and Python 3 with a single codebase. I'd wondered how difficult it would be, and it turns out: not very! I'm delighted with the results, particularly because I can now generate coverage reports that take into account every interpreter that listparser runs on (including Jython, and excepting IronPython).
As a side benefit, I can take this experience and apply it to the feedparser codebase in the future. However, I have some bug reports and documentation changes to tend to first...
listparser is a Python library that parses subscription lists (also called reading lists) and returns all of the feeds, subscription lists, and "opportunity" URLs that it finds. It supports OPML, RDF+FOAF, and the iGoogle exported settings format.