Accepting request 1039708 from home:yarunachalam:branches:devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/1039708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=78
This commit is contained in:
Dirk Mueller 2022-12-03 07:26:11 +00:00 committed by Git OBS Bridge
parent ce9be89ce8
commit 2c5918efbd
4 changed files with 21 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df8409e1aaa1119b1417b37aa5ec4987477730bdd7c132c51f650e34363b0418
size 437277

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8002fe851dae5eea3d0e74be87bcb1ad6cd252277c713f0fe5d4f3564890a4c
size 437906

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Dec 3 03:46:28 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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
-------------------------------------------------------------------
Thu Oct 27 21:41:48 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@ -17,7 +17,7 @@
Name: python-astroid
Version: 2.12.12
Version: 2.12.13
Release: 0
Summary: Representation of Python source as an AST for pylint
License: LGPL-2.1-or-later