Thanks for the help so far. I've been able to make some minor changes to the code and checked the behaviour. I'm still a bit stuck on how it all ties together. I have added a new routine to the C++ code, but so far I've been unable to trace how the existing code is invoked from the Python code. I've chased down all the leads I can find, and found .../sage/libs/mwrank/wrap.cc which looks promising but it references a structure (_mw) to invoke 'search', but I can't find where this structure is set up and the 'search' component initialised. I have added a similar function 'search_int' into sieve_search.cc and want to invoke this from the python code.
It's a steep learning curve! Bill --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---