pylint #119818 Variable usage scope fails to detect usage in List building. [open]
Following code example:
for key, _ in some_dict: some_list = [key]is reported as "unused variable 'key'". pylint --version output: pylint 0.26.0, astng 0.24.1, common 0.59.0 Python 2.7.2+ (default, Jul 20 2012, 22:15:08) [GCC 4.6.1] | |
priority | normal |
---|---|
type | bug |
done in | <not specified> |
closed by | <not specified> |