v2.12.13
Pierre-Sassoulas
released this
19 Nov 14:55
·
943 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.format
with inferred arguments
that would be invalid.Closes #1856
-
Infer the
length
argument of therandom.sample
function. -
Catch
ValueError
when indexing some builtin containers and sequences during inference.Closes #1843