| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make BaseContainer a public API | Pierre Sassoulas | 2021-08-16 | 1 | -1/+1 |
| | | | | | We keep the old name for compatibility purpose | ||||
| * | Fixed import of LookupMixIn from astroid.node_classes | Ashley Whetter | 2021-08-16 | 1 | -0/+1 |
| | | |||||
| * | Add 'Pattern' to the astroid.nodes's API | Pierre Sassoulas | 2021-08-05 | 1 | -0/+1 |
| | | |||||
| * | Create 'nodes' package, deprecate 'node_classes' and 'scoped_nodes' | Pierre Sassoulas | 2021-08-05 | 1 | -5341/+89 |
| | | | | | | | | Add deprecation warning and retro-compatibility for old API in node_classes and scoped_nodes. To be removed in 3.0.0. | ||||
| * | Bump astroid to 2.6.6, update changelogv2.6.6 | Pierre Sassoulas | 2021-08-03 | 1 | -1/+3 |
| | | |||||
| * | Update pylint to 2.9.6 (#1114) | Marc Mueller | 2021-08-02 | 1 | -2/+1 |
| | | | | | * Update pylint to v2.9.6 * Code updates | ||||
| * | Improve variable lookup to handle except clause variable scope | David Liu | 2021-08-02 | 1 | -1/+12 |
| | | |||||
| * | Improve variable lookup to handle function parameters being overwritten | David Liu | 2021-08-02 | 1 | -4/+13 |
| | | |||||
| * | Improve variable lookup to ignore exclusive statements | David Liu | 2021-08-02 | 1 | -3/+12 |
| | | |||||
| * | Fix incorrect scope for functools partials (#1097) | Alphadelta14 | 2021-08-01 | 1 | -10/+2 |
| | | | | | | * Use scope parent * Do not set name onto parent frame for partials * Add test case that captures broken scopes | ||||
| * | Bump astroid to 2.6.4, update changelog | Pierre Sassoulas | 2021-07-20 | 1 | -1/+1 |
| | | |||||
| * | Bump astroid to 2.6.3, update changelogv2.6.3 | Pierre Sassoulas | 2021-07-19 | 1 | -1/+1 |
| | | |||||
| * | Add new If guard helper methods (#1099) | Marc Mueller | 2021-07-13 | 1 | -0/+37 |
| | | | | | | * Add new if guard helper methods Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
| * | Remove pylint useless-suppression | Marc Mueller | 2021-07-11 | 1 | -1/+0 |
| | | |||||
| * | Fix issues when inferring match variables (#1093) | Marc Mueller | 2021-07-10 | 1 | -4/+35 |
| | | | | | | | | * Fix issues when inferring match variables * Fix extract_node for MatchCase * Typing improvements * Fix pylint issues (no-name-in-module) * Use PY310_PLUS instead of sys.version_info | ||||
| * | Fix copyright links (#1084) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | | * Fix link in license header * Fix link to cpython | ||||
| * | Catch the StopIteration that result from PEP-479 or add default value in ↵ | Pierre Sassoulas | 2021-06-30 | 1 | -2/+2 |
| | | | | | | | | | | ``next`` (#1081) * Catch the StopIteration that result from PEP-479 StopIteration exceptions raised directly or indirectly in coroutines and generators are transformed into RuntimeError exceptions for python 3.7+. | ||||
| * | Bump astroid to 2.6.1, update changelogv2.6.1 | Pierre Sassoulas | 2021-06-29 | 1 | -1/+1 |
| | | |||||
| * | Create a constant for BUILTINS in astroid.constants | Pierre Sassoulas | 2021-06-26 | 1 | -4/+1 |
| | | |||||
| * | Bump astroid to 2.6.0, update changelogv2.6.0 | Pierre Sassoulas | 2021-06-22 | 1 | -1/+1 |
| | | |||||
| * | Remove default init values Arguments + fix raw_building (#1065) | Marc Mueller | 2021-06-21 | 1 | -5/+5 |
| | | | | | | | * Arguments - remove default init values * Fix raw_building.build_function * Use Arguments.postinit * Add kwonlyargs | ||||
| * | Type annotations for nodes 11 (#1063) | Marc Mueller | 2021-06-20 | 1 | -128/+75 |
| | | | | | | * Arguments * Remove duplicate type annotation for Match nodes * Small changes | ||||
| * | Type annotations for nodes 10 (#1061) | Marc Mueller | 2021-06-19 | 1 | -73/+130 |
| | | | | | * Decorators, TryExcept, TryFinally, NamedExpr, EvaluatedObject * Remove additional default values from Match nodes | ||||
| * | Simplification because AstroidManager is a singleton/borg | Pierre Sassoulas | 2021-06-19 | 1 | -4/+4 |
| | | |||||
| * | Type annotations for nodes 09 (#1056) | Marc Mueller | 2021-06-19 | 1 | -61/+58 |
| | | | | * AssignName, DelName, Name, AssignAttr, DelAtr | ||||
| * | Type annotations for nodes 08 | Marc Mueller | 2021-06-19 | 1 | -96/+168 |
| | | | | | * Tuple, UnaryOp, While, With, Yield, FormattedValue, JoinedStr | ||||
| * | Add context type hints | Marc Mueller | 2021-06-19 | 1 | -21/+10 |
| | | |||||
| * | Remove Optional annotation if parameter is required (#1051) | Marc Mueller | 2021-06-19 | 1 | -10/+10 |
| | | |||||
| * | Fix all no-member in the codebase and enable the warning | Pierre Sassoulas | 2021-06-18 | 1 | -27/+11 |
| | | |||||
| * | Remove useless-suppression that apppeared suddenly | Pierre Sassoulas | 2021-06-18 | 1 | -8/+3 |
| | | |||||
| * | Type annotations for nodes 07 (#1048) | Marc Mueller | 2021-06-18 | 1 | -73/+110 |
| | | | | * Nonlocal, Raise, Return, Slice, Starred, Subscript | ||||
| * | Type annotations for nodes 06 (#1047) | Marc Mueller | 2021-06-18 | 1 | -83/+103 |
| | | | | * Import, ImportFrom, If, IfExp, Keyword, List | ||||
| * | Type annotations for nodes 05 (#1046) | Marc Mueller | 2021-06-18 | 1 | -83/+120 |
| | | | | * ExceptHandler, For, Await, Attribute, Global | ||||
| * | Type annotations for nodes 04 (#1044) | Marc Mueller | 2021-06-17 | 1 | -69/+88 |
| | | | | * Comprehension, Const, Delete, Dict, Expr | ||||
| * | Type annotations for nodes 03 (#1042) | Marc Mueller | 2021-06-17 | 1 | -86/+99 |
| | | | | * BinOp, BoolOp, Call, Compare | ||||
| * | Type annotations for nodes 02 (#1041) | Marc Mueller | 2021-06-17 | 1 | -70/+102 |
| | | |||||
| * | Add keyword arguments to super call | Marc Mueller | 2021-06-17 | 1 | -1/+1 |
| | | |||||
| * | Start adding type annotations to node_classes | Marc Mueller | 2021-06-17 | 1 | -63/+37 |
| | | |||||
| * | Add Pattern base class (#1037) | Marc Mueller | 2021-06-16 | 1 | -34/+26 |
| | | |||||
| * | Add MultiLineBlockMixin to MatchCase (#1038) | Marc Mueller | 2021-06-16 | 1 | -1/+2 |
| | | |||||
| * | Bump astroid to 2.6.0-dev0, update changelog | Pierre Sassoulas | 2021-06-16 | 1 | -2/+2 |
| | | |||||
| * | Import exceptions from astroid.exceptions to avoid circular imports | Pierre Sassoulas | 2021-06-15 | 1 | -21/+29 |
| | | |||||
| * | Update Match nodes to be internally consistent (#1033) | Marc Mueller | 2021-06-15 | 1 | -52/+120 |
| | | |||||
| * | Small fix + improvements to Match nodes (#1032) | Marc Mueller | 2021-06-15 | 1 | -65/+13 |
| | | | | | | | | * Fix MatchClass fields * Add types to Match fields * Remove unnecessary Match get_children methods * Fix test variable name * Add tests for Match get_children | ||||
| * | Deprecate Index and ExtSlice nodes (#1026) | Marc Mueller | 2021-06-13 | 1 | -43/+4 |
| | | |||||
| * | Deprecate Ellipsis node (#1025) | Marc Mueller | 2021-06-13 | 1 | -16/+3 |
| | | |||||
| * | Remove py2 nodes (#1023) | Marc Mueller | 2021-06-12 | 1 | -126/+0 |
| | | | | | * Removed Repr, Exec, Print nodes * Updated rebuilder | ||||
| * | Add missing type annotations for Match nodes (#1021) | Marc Mueller | 2021-06-12 | 1 | -2/+2 |
| | | |||||
| * | Prepare for 2.5.8 release (#1013)v2.5.8 | Pierre Sassoulas | 2021-06-07 | 1 | -1/+2 |
| | | |||||
| * | Performance improvements to counter context.clone slowdown (#1009) | Andrew Haigh | 2021-06-07 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | * Add limit to the total number of nodes inferred per context This change abuses mutable references to create a sort of interior mutable cell shared between a context and all of its clones. The idea is that when a node is inferred at the toplevel, it is called with context = None, creating a new InferenceContext and starting a count from zero. However, when a context is cloned we re-use the cell and cause the count in the "parent" context to be incremented when nodes are inferred in the "child" context. * Add global inference cache * Update safe_infer to catch StopIteration | ||||
