[Mailman-Users] regexp help

Geoff Shang geoff at QuiteLikely.com
Mon Nov 2 23:44:09 CET 2009


On Mon, 2 Nov 2009, Savoy, Jim wrote:

> I also just noticed that all of the other handlers have an accompanying
> .pyc file, but my Foo.py does not. Perhaps that 'c' stands for
> "compiled"

It does.

> and I was supposed to compile the code first? (probably seems obvious to
> someone familiar with Mailman/Python).

No.  The code is automatically compiled if there is no pyc file or the py 
file is different.

Presumably there's no pyc file because of your syntax error.  At a guess, 
I'd say that the def statement should be on a new line, but I'm not a 
Python expert.

Geoff.



More information about the Mailman-Users mailing list