>The problem is that both modules have information needed by the
>other module. In this case, the user's module will look something
>like this:
>
> 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.
Can't you break it up in three files (with SimpleGrep in the third
file)? Or use a dummy value in one of the files that gets replaced by
the actual value once the next module is imported?
-Jaap-
-- Jaap Vermeulen +--------------------------+ | Sequent Computer Systems | Internet : jaap@sequent.com | Beaverton, Oregon | Uucp : ...uunet!sequent!jaap +--------------------------+