v2.12.13
·
1523 commits
to main
since this release
-
Prevent returning an empty list for
ClassDef.slots()when the mro list contains one class & it is notobject. -
Prevent a crash when inferring calls to
str.formatwith inferred arguments
that would be invalid.Closes #1856
-
Infer the
lengthargument of therandom.samplefunction. -
Catch
ValueErrorwhen indexing some builtin containers and sequences during inference.Closes #1843