Couple feedparser bugs fixed

March 19, 2008 – 6:19 pm

If you massively use python feedparser, sooner or later you’ll encounter a feed with non-ascii symbols that tracebacks with somethings like

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)

or even

IndexError: pop from empty list

Using latest version from svn helps, but even it has some bugs 1, 2 in microformats parsing.

Since I use feedparser actively on chytach, I tend follow feedparser svn and to fix bugs quickly.

In case you need, I’ve opened a git repository with fixes on Gitorious

RPM with the fixes is on the way to the ALT Linux Sisyphus

blog comments powered by Disqus