En Mon, 01 Oct 2007 00:10:05 -0300, Andres Riofrio <[EMAIL PROTECTED]> escribi�:
> From what I've read, seems that the principal reason for rejecting the > PEP is that there was not much need (enthusiasm)... Well, then I have > a question: Is there a way to make 5/2 return something other than an > integer? I can do: > class int(int): > def __add__(self, other): > pass > but that will only work if I do int(5)/int(2)... I'm afraid not. But if you are crazy enough you can preprocess your source using something similar to the tokenize example <http://docs.python.org/lib/module-tokenize.html> -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list