At 12:40 PM 5/10/2007 +0200, BJörn Lindqvist wrote: >I could use the debug_it @before-function, but I don't think I should >have to just to see the control flow of a darn flatten function. The >other approach would be to grep the whole source for "flatten." Then I >should be able to figure out which dispatch rules are active when the >snippet in bar.py is invoked. But it would require considerable work.
Or, you could simply print out the contents of RuleSet(flatten). Or perhaps just the subset of those rules that you're interested in. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com