Email [Python-projects] Re: Math module with PyLint

from
to
subject
[Python-projects] Re: Math module with PyLint
date
2005/01/27 17:12
On Thursday 27 January à 14:01, Fabio Zadrozny wrote:
>  
> Actually math is a builtin module in python, so, it should not be a file
> extension problem.

well, i'm not sure about this. Dealing with builtin modules is a part
where astng needs improvment (read more testing).
 
> And testing a little more, I discovered that putting it in the form below
> works for me (strange)

> import math

> def log10_2():
>     return math.log10(2)

hum, there is probably a good explaination, but it doesn't pop up right
now in the top of my head. Anyway that's a good remark, I'll have to dig
into this...

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects


is a reply to