Overview

Request 1039708 accepted

- Update to 2.12.13:
* Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``.
Refs PyCQA/pylint#5099
* Prevent a crash when inferring calls to ``str.format`` with inferred arguments
that would be invalid.
Closes #1856
* Infer the `length` argument of the ``random.sample`` function.
Refs PyCQA/pylint#7706
* Catch ``ValueError`` when indexing some builtin containers and sequences during inference.
Closes #1843

Request History
Yogalakshmi Arunachalam's avatar

yarunachalam created request

- Update to 2.12.13:
* Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``.
Refs PyCQA/pylint#5099
* Prevent a crash when inferring calls to ``str.format`` with inferred arguments
that would be invalid.
Closes #1856
* Infer the `length` argument of the ``random.sample`` function.
Refs PyCQA/pylint#7706
* Catch ``ValueError`` when indexing some builtin containers and sequences during inference.
Closes #1843


Dirk Mueller's avatar

dirkmueller accepted request

openSUSE Build Service is sponsored by