Re: [sage-devel] redefining RealNumber/Integer

2010-04-12 Thread Mike Hansen
On Mon, Apr 12, 2010 at 4:21 AM, Uri wrote: > (I could also turn off the preparser, but I think it's better to do it > that way... am I wrong?). Now, I would like that when someone installs > this package, this redefinition is automatically done and that it > somehow involves just the functions in

[sage-devel] redefining RealNumber/Integer

2010-04-12 Thread Uri
Hi, I'm trying to create a package that integrates a Python programme in Sage. The problem is that it doesn't work with Sage preparser, so I must redefine RealNumber and Integer as follows: RealNumber=float Integer=int (I could also turn off the preparser, but I think it's better to do it that wa