LuKreme wrote:
>
>With further reading into Python, it appears that one of Python's features Is
>that it automatically recompiles .py files to .pyc files when needed, as soon
>as it triggers an import of the file, so there is nothing I need to do after
>changing the source and restarting mailman
On May 4, 2011, at 9:59, LuKreme wrote:
> So, it looks like mm_cfg.py is the only .py that gets recompiled
> automatically, right? So how do I recompile SpamDetect.py after making my
> changes?
With further reading into Python, it appears that one of Python's features Is
that it automatically
LuKreme wrote:
>I made some changes to a .py file and then restarted mailman with
>
>/usr/local/mailman/bin/mailmanctl restart
>
>however, the .pyc file did not get updated as its timestamp didn't change:
>
># ls -lshtr Mailman/Handlers/Spam*
> 6 -rw-r--r-- 1 root mailman 4.4K Apr 24 2010
I made some changes to a .py file and then restarted mailman with
/usr/local/mailman/bin/mailmanctl restart
however, the .pyc file did not get updated as its timestamp didn't change:
# ls -lshtr Mailman/Handlers/Spam*
6 -rw-r--r-- 1 root mailman 4.4K Apr 24 2010
Mailman/Handlers/SpamD