On Mon, Sep 27, 2010 at 19:07, Barry Smith <bsmith at mcs.anl.gov> wrote: > This could be done by putting into the C code the usual "case" handling for > the new viewer and then have > it dispatch back to the python code.
Right, but then it sounds like you're distributing the viewer with PETSc (instead of petsc4py of some third-party plugin). We had a long thread a while ago about making multiple dispatch runtime-extensible in both arguments. Jed
