pylint #3125 E1101 false positive and a message duplication [resolved]
MATSUI Tetsushi wrote: The following code: import decimal decimal.getcontext().prec = 200 print decimal.getcontext().prec outputs: E: 4: Instance of 'Context' has no 'prec' member E: 4: Instance of 'Context' has no 'prec' member | |
priority | important |
---|---|
type | bug |
done in | 0.12.2 |
load | 0.250 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2006/11/23 13:50, written by sthenault
-
2007/06/08 12:23
add commentFixed the last part (eg message duplication) since the initial false positive is due to dynaming setting of attributes in the decimal.Context class.
I tried to reproduce this today, and got no error at all. I guess astng made some progress... (otoh, running pylint on the snippet took a significant amount of time...)