Now
MAIN commitmail json YAML
py-astroid: updated to 2.12.13
What's New in astroid 2.12.13?
==============================
* Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``.
* Prevent a crash when inferring calls to ``str.format`` with inferred arguments
that would be invalid.
* Infer the `length` argument of the ``random.sample`` function.
* Catch ``ValueError`` when indexing some builtin containers and sequences during inference.
What's New in astroid 2.12.13?
==============================
* Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``.
* Prevent a crash when inferring calls to ``str.format`` with inferred arguments
that would be invalid.
* Infer the `length` argument of the ``random.sample`` function.
* Catch ``ValueError`` when indexing some builtin containers and sequences during inference.