Ask Your Question

Revision history [back]

Use python as default data type

Hello everyone, The problem is the following: In a couple of modules I developed I check the object of the arguments. Since I am using this functions in a sage worksheet and Sagemath converts the integers I write in the worksheet to sagemath integers, my code always raises an exception in my python modules.

Can I use some directive or macro to make sage use python types by default? Another workaround is welcome!

Thanks in advance for the help, Pedro Martins