Revisions of python-astroid
buildservice-autocommit
accepted
request 1217044
from
Dirk Mueller (dirkmueller)
(revision 110)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 109)
- update to 3.3.5: * Control setting local nodes outside of the supposed local's constructor. * Fix Python 3.13 compatibility re: `collections.abc`
buildservice-autocommit
accepted
request 1202985
from
Dirk Mueller (dirkmueller)
(revision 108)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 107)
- update to 3.3.4: * Fix regression with f-string inference. * Fix bug with ``manager.clear_cache()`` not fully clearing cache * Fix a crash from inferring empty format specs. * Fix inference regression with property setters. * Add annotation-only instance attributes to attrs classes to fix `no-member` false positives. * Restore support for soft-deprecated members of the ``typing`` module with python 3.13. * Fix a crash introduced in 3.3.0 involving invalid format strings.
buildservice-autocommit
accepted
request 1192588
from
Markéta Machová (mcalabkova)
(revision 106)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1191844
from
John Paul Adrian Glaubitz (glaubitz)
(revision 105)
- Update to 3.3.0 * Add support for Python 3.13. * Remove support for Python 3.8 (and constants `PY38`, `PY39_PLUS`, and `PYPY_7_3_11_PLUS`). * Add the ``__annotations__`` attribute to the ``ClassDef`` object model. * Implement inference for JoinedStr and FormattedValue * Add support for ``ssl.OP_LEGACY_SERVER_CONNECT`` (new in Python 3.12).
buildservice-autocommit
accepted
request 1189108
from
Matej Cepl (mcepl)
(revision 104)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1189035
from
John Paul Adrian Glaubitz (glaubitz)
(revision 103)
- Update to 3.2.4 * Avoid reporting unary/binary op type errors when inference is ambiguous. - from version 3.2.3 * Fix ``AssertionError`` when inferring a property consisting of a partial function.
buildservice-autocommit
accepted
request 1185391
from
Daniel Garcia (dgarcia)
(revision 102)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 101)
- update to 3.2.2: * 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.
buildservice-autocommit
accepted
request 1160817
from
Dirk Mueller (dirkmueller)
(revision 100)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 99)
- update to 3.1.0: * Include PEP 695 (Python 3.12) generic type syntax nodes in ``get_children()``, allowing checkers to visit them. * Add ``__main__`` as a possible inferred value for ``__name__`` to improve control flow inference around ``if __name__ == "__main__":`` guards. * Following a deprecation period, the ``names`` arg to the ``Import`` constructor and the ``op`` arg to the ``BoolOp`` constructor are now required, and the ``doc`` args to the ``PartialFunction`` and ``Property`` constructors have been removed (call ``postinit(doc_node=...)`` instead.) * Following a deprecation announced in astroid 1.5.0, the alias ``AstroidBuildingException`` is removed in favor of ``AstroidBuildingError``. * Include modname in AST warnings. Useful for ``invalid escape sequence`` warnings with Python 3.12. * ``RecursionError`` is now trapped and logged out as ``UserWarning`` during astroid node transformations with instructions about raising the system recursion limit. * Suppress ``SyntaxWarning`` for invalid escape sequences on Python 3.12 when parsing modules.
buildservice-autocommit
accepted
request 1135253
from
Dirk Mueller (dirkmueller)
(revision 98)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 97)
- update to 3.0.2: * Avoid duplicate inference results for some uses of ``typing.X`` constructs like ``Tuple[Optional[int], ...]``. This was causing pylint to occasionally omit messages like ``deprecated-typing-alias``. - Correct Requires for typing_extensions. - Update to 2.12.13: - Update to 2.12.12: set to None. Closes #1755 FunctionDef parent but are now correctly parented to their - Drop part_rm_dep_imp.patch fixed upstream * Properly construct the arguments of infered property descriptors * Properly analyze CFFI compiled extensions. * brain plugins can now register hooks to handle failed imports, * Fix names grabed using wildcard import in "absolute import mode" (ie with absolute_import activated from the __future__ or with * fix #20760: crash on pyreverse : AttributeError: 'Subscript' by Dave Borowitz * new InstanceMethod node introduced to wrap bound method (eg * compatibility with python2.3 and logilab-common 0.21 * .locals and .globals on scoped node handle now a list of
buildservice-autocommit
accepted
request 1118346
from
Markéta Machová (mcalabkova)
(revision 96)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1118344
from
Markéta Machová (mcalabkova)
(revision 95)
- Update to 3.0.1 * Add support for Python 3.12, including PEP 695 type parameter syntax. * Remove support for Python 3.7. * Use the global inference cache when inferring, even without an explicit InferenceContext. * Following a deprecation period starting in astroid 2.7.0, the astroid.node_classes and astroid.scoped_nodes modules have been removed in favor of astroid.nodes.node_classes and astroid.nodes.scoped_nodes. * Following a deprecation period starting in astroid 2.12.0, the astroid.mixins module has been removed in favor of astroid.nodes._base_nodes (private). * Remove @cached and @cachedproperty decorator (just use @cached_property from the stdlib). * Remove the inference module. Node inference methods are now in the module defining the node, rather than being associated to the node afterward. * Move LookupMixIn to astroid.nodes._base_nodes and make it private. * Remove the shims for OperationError, BinaryOperationError, and UnaryOperationError in exceptions. They were moved to util in astroid 1.5.0. * Reduce file system access in ast_from_file(). * nodes.FunctionDef no longer inherits from nodes.Lambda. * infer_call_result now shares the same interface across all implementations. * Remove unused and / or deprecated constants. * The future argument to each method is deprecated and will be removed in astroid 4.0. * So many more changes, see https://github.com/pylint-dev/astroid/blob/main/ChangeLog for a complete list.
buildservice-autocommit
accepted
request 1098939
from
Dirk Mueller (dirkmueller)
(revision 94)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 93)
- update to 2.15.6: * Harden ``get_module_part()`` against ``"."``. * Avoid expensive list/tuple multiplication operations that would result in ``MemoryError``.
buildservice-autocommit
accepted
request 1087263
from
Dirk Mueller (dirkmueller)
(revision 92)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 91)
- update to 2.15.5: * Handle ``objects.Super`` in ``helpers.object_type()``.
Displaying revisions 1 - 20 of 110