[Python-projects] Decimal issue

Jean-Philippe Dutrève jdutreve at gmail.com
Thu Jul 3 00:19:58 CEST 2008


The problem has disappeared with python 2.5.2 (I was in 2.5).
Thank you for your quick response.

Nicolas Chauvat a écrit :
> 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 ?
> 



More information about the Python-Projects mailing list