On Nov 27, 8:55 am, "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote: > Then another thing - it strikes me that any problem that can be solved > by metaprogramming, can be solved by putting similar code into a class > and instanciating an instance. > > Does anybody know if this is true? > > If it is, it limits the usefulness of metaprogramming to the creation > of "stored procedures" for "later execution".
Take a look at Pythoscope, which generates unit test stubs for a given piece of Python code: http://pythoscope.org/ http://pythoscope.org/test-generator -- http://mail.python.org/mailman/listinfo/python-list