[Python-projects] Decimal issue
Nicolas Chauvat
nicolas.chauvat at logilab.fr
Wed Jul 2 16:49:14 CEST 2008
On Wed, Jul 02, 2008 at 04:07:57PM +0200, Jean-Philippe Dutrève wrote:
> I'm trying to use pylint 0.14.0. It's a great tool but it blocks with
> CPU at 100% (forever?) when I use the Decimal class.
>
> For example, a python module containing just "from decimal import
> Decimal" blocks, even only with 'variables' checker.
> Another example with the checker 'typecheck', instantiation of Decimal
> blocks : Decimal("1.0").
I tried:
from decimal import Decimal
Decimal('1.0')
and running pylint on it worked fine.
$ pylint --version
No config file found, using default configuration
pylint 0.14.0,
astng 0.17.2, common 0.33.0
Python 2.5.2 (r252:60911, May 28 2008, 19:19:25)
[GCC 4.2.4 (Debian 4.2.4-1)]
You will have to look for the reason why it blocks in your setup. Does
running pylint block in this case only ?
--
Nicolas Chauvat
logilab.fr - services en informatique scientifique et gestion de connaissances
More information about the Python-Projects
mailing list