The problem is that both modules have information needed by the
other module. In this case, the user's module will look something
Rules = [('rec.arts.anime', SimpleGrep, AnimeRules)]
The library has to have 'Rules' defined in order to compile. But
Rules needs a definition of 'SimpleGrep' (from the library) in
order to compile.
Brief experiments with 'global' don't seem to do the trick. But if
I put everything into one file, it works.
-- Steven Miale - email@example.com | Don't blame me - Indiana University, Bloomington, IN | I voted Libertarian.