On Wednesday 30 April 2008 18:25:25 Michael Bayer wrote: > On Apr 30, 2008, at 8:50 AM, [EMAIL PROTECTED] wrote: > > should have one more argument iterator_func, and that to be > > passed whatever the Visitor's .iterate is, instead of using > > hardcoded > > fine. r4607: > > def traverse_using(iterator, obj, visitors): > """visit the given expression structure using the given > iterator of objects."""
yeah, i how i get the ClauseVisitor to use that... The idea was for the ClauseVisitor's traverse to use ClauseVisitor's iterate (or _iterate), pointing by default to module's plain iterate(), so inheriting and replaceing _iterate with e.g. iterate_depth_first (or whatever fancy) would work, without a need to reinvent the traverse mechanism at all. unless u're fading out those classes for a reason or another? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---