summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-astroid: upgrade 3.2.0 -> 3.2.2Wang Mingyu2024-05-281-37/+0
| | | | | | | | Changelog: Improve inference for generic classes using the PEP 695 syntax (Python 3.12). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-astroid: upgrade 3.1.0 -> 3.2.0Wang Mingyu2024-05-191-0/+37
Changelog: =========== - .pyi stub files are now preferred over .py files when resolving imports, (except for numpy). - igetattr() returns the last same-named function in a class (instead of the first). This avoids false positives in pylint with @overload. - Adds module_denylist to AstroidManager for modules to be skipped during AST generation. Modules in this list will cause an AstroidImportError to be raised when an AST for them is requested. - Make astroid.interpreter._import.util.is_namespace only consider modules using a loader set to NamespaceLoader or None as namespaces. This fixes a problem that six.moves brain was not effective if six.moves was already imported. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>