diff options
author | Dmitry Pribysh <dmand@yandex.ru> | 2015-11-09 18:16:14 +0300 |
---|---|---|
committer | Dmitry Pribysh <dmand@yandex.ru> | 2015-11-09 18:16:14 +0300 |
commit | 928d8b8c9ed8f1d6d2e7cfe5d252c6cde47cff7e (patch) | |
tree | cc83e1e606edf52173a1c7caa83500633cc1a33c /ChangeLog | |
parent | 55c4e267c454e54958aa1de605f3b55f1b6effe7 (diff) | |
download | pylint-928d8b8c9ed8f1d6d2e7cfe5d252c6cde47cff7e.tar.gz |
Use safe inference in unpacking-non-sequence checker
Unfortunately, this fix means that we won't be able to emit an error for
cases like this one:
```
def foo():
if True:
return [1, 2]
return [3, 4, 5]
a, b = foo()
```
Well, not unless we get flow-sensitive inference. But we still need this fix to
reduce the number of false-positive errors.
Fixes issue #695.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions