[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

Phillip J. Eby pje at telecommunity.com
Thu May 10 17:40:32 CEST 2007

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.

More information about the Python-3000 mailing list