forked from pool/python-astroid
Dirk Mueller
9a5f856633
* Improve inference for generic classes using the PEP 695 syntax (Python 3.12). * Fix ``RecursionError`` in ``infer_call_result()`` for certain ``__call__`` methods. * Add ``AstroidManager.prefer_stubs`` attribute to control the astroid 3.2.0 feature that prefers stubs. * ``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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=101
4 lines
131 B
Plaintext
4 lines
131 B
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:7ff8e7de62e56c107334c15dfa336256901711e931e0f644a366bcb91e276a42
|
|
size 465306
|