[docs] math and Cmath lib interferences

Senthil Kumaran senthil at uthcode.com
Wed Aug 10 16:16:36 CEST 2011


On Tue, Aug 09, 2011 at 09:03:46AM -0500, Ricky John wrote:
>  if these 2 modules are loaded and you try to find a log10  for a real number
> you get by default the Cmath.log10(x) with a Complex Result!
>  
>  i think it would be more logical to default to math.log10(x)  for X being a
> real number which is not the case right now!

Can you raise a bug in bugs.python.org? This is more suitable for
tracker where people interested in maths module may notice, provide
feedback and take appropriate action.

Thanks,
Senthil



More information about the docs mailing list