[EMAIL PROTECTED] wrote:

> class fact_0(object):
>       value = 1
[...
>       def __new__(self, n_):
>               class spanish_inquisition(object):
>                       __metaclass__ = fact_meta
>                       n = n_
>               return spanish_inquisition()


You wrote lots of boilerplate to hide the fact you're cheating, didn't you?

The OP explicitly asked for an iterative procedure.

btw... writing a test unit to check the tested code is not calling 
itself.. could be interesting

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to