[spambayes-dev] Error with the new FeedParser

Barry Warsaw barry at python.org
Sat May 15 12:19:43 EDT 2004


On Sat, 2004-05-15 at 12:05, Skip Montanaro wrote:
>     Skip> I cvs up'd my Python tree today and reinstalled (I generally run
>     Skip> from CVS HEAD, silly me I suppose).  I quickly got a failure from
>     Skip> some of my collected spam when running tte.py.
> 
>     ...
> 
>     Skip>         mo = boundaryre.match(line)
>     Skip>     TypeError: expected string or buffer
> 
> Should anyone else encounter this, I submitted a bug report on SF last
> night:
> 
>     http://python.org/sf/954320
> 
> and attached a patch this morning which seems to fix the problem.

That's exactly the right patch.  I have the same one sitting in my cvs
checkout, but I've been trying to boil down the spam10 example to add it
to the test suite.

Thanks!
-Barry





More information about the spambayes-dev mailing list