| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add `InferenceContext.is_empty()` | Jacob Walls | 2023-05-14 | 1 | -0/+12 |
| | | |||||
| * | Complete typing of ``context.py`` | Daniël van Noord | 2023-04-30 | 1 | -30/+14 |
| | | |||||
| * | Expand typing on ``CallContext`` | Daniël van Noord | 2023-04-22 | 1 | -1/+3 |
| | | |||||
| * | [PyCQA migration] Upgrade links to the repositories in code and doc | Pierre Sassoulas | 2023-03-29 | 1 | -2/+2 |
| | | |||||
| * | Revert CallContext change since it caused a RecursionError regression (#2000) | Marc Mueller | 2023-01-31 | 1 | -5/+1 |
| | | | | This reverts commit a0d219cb3403cda3338a14ce67a60954b4ff5cd7 (#1982). | ||||
| * | Preserve parent CallContext when inferring nested functions (#1982) | Marc Mueller | 2023-01-29 | 1 | -1/+5 |
| | | |||||
| * | Initial pass with ``pydocstringformatter`` | Daniël van Noord | 2023-01-09 | 1 | -8/+10 |
| | | |||||
| * | Support "is None" constraints from if statements during inference (#1189) | David Liu | 2023-01-06 | 1 | -0/+6 |
| | | | | | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
| * | Add some InferenceContext annotations (#1883) | Nick Drozd | 2022-11-22 | 1 | -9/+11 |
| | | |||||
| * | Add some bool annotations (#1877) | Nick Drozd | 2022-11-22 | 1 | -3/+2 |
| | | |||||
| * | Add some 'str' annotations (#1878) | Nick Drozd | 2022-11-20 | 1 | -1/+1 |
| | | |||||
| * | Type ``_infer`` of ``Call``, ``Import`` and ``ImportFrom`` (#1653) | Daniël van Noord | 2022-06-24 | 1 | -11/+4 |
| | | |||||
| * | Update typing for Python 3.7 (1) (#1555) | Marc Mueller | 2022-05-13 | 1 | -5/+8 |
| | | |||||
| * | Fix typing in context.py (#1471) | Daniël van Noord | 2022-03-14 | 1 | -11/+10 |
| | | |||||
| * | Simplify hard to maintain copyright notice (#1441) | Pierre Sassoulas | 2022-03-12 | 1 | -14/+1 |
| | | | | | | | | | | | | | | | * Simplify hard to maintain copyright notice git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names. * Add a pre-commit hook to check the copyright notice * Fix the existing file so they have a notice * Fix the spacing after the copyright notice * Add a script to generate the CONTRIBUTORS.txt Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
| * | Bump astroid to 2.10.0, update changelogv2.10.0 | Pierre Sassoulas | 2022-02-27 | 1 | -0/+1 |
| | | |||||
| * | Bump astroid to 2.9.2, update changelogv2.9.2 | Alexander Shadchin | 2022-01-04 | 1 | -1/+1 |
| | | |||||
| * | Bump astroid to 2.9.1, update changelogv2.9.1 | Pierre Sassoulas | 2021-12-31 | 1 | -0/+1 |
| | | |||||
| * | Fix typos (#1288) | Kian Meng, Ang | 2021-12-13 | 1 | -1/+1 |
| | | |||||
| * | Bump astroid to 2.8.3, update changelogv2.8.3 | Pierre Sassoulas | 2021-10-17 | 1 | -1/+1 |
| | | |||||
| * | Bump astroid to 2.8.1, update changelogv2.8.1-rc1 | Pierre Sassoulas | 2021-10-06 | 1 | -0/+1 |
| | | |||||
| * | Add f-strings with `flynt` | Daniël van Noord | 2021-09-17 | 1 | -2/+1 |
| | | |||||
| * | Bump astroid to 2.8.0, update changelogv2.8.0 | Pierre Sassoulas | 2021-09-14 | 1 | -1/+1 |
| | | |||||
| * | Bump astroid to 2.7.3, update changelogv2.7.3 | Pierre Sassoulas | 2021-08-30 | 1 | -0/+1 |
| | | |||||
| * | Fix bug in attribute inference from inside method calls. | David Liu | 2021-08-28 | 1 | -10/+12 |
| | | | | | | Add callee attribute to inference CallContext to keep track of the function currently being called. | ||||
| * | Remove use of deprecated node_classes and scoped_node API in astroid | Pierre Sassoulas | 2021-08-10 | 1 | -1/+1 |
| | | |||||
| * | 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 | -0/+1 |
| | | |||||
| * | Fix copyright links (#1084) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | | * Fix link in license header * Fix link to cpython | ||||
| * | Bump astroid to 2.6.0, update changelogv2.6.0 | Pierre Sassoulas | 2021-06-22 | 1 | -1/+1 |
| | | |||||
| * | Remove the __all__ that aren't necessary | Pierre Sassoulas | 2021-06-19 | 1 | -0/+1 |
| | | |||||
| * | Import without wildcard for Context in astroid.__init_.py | Pierre Sassoulas | 2021-06-19 | 1 | -2/+1 |
| | | |||||
| * | Performance improvements to counter context.clone slowdown (#1009) | Andrew Haigh | 2021-06-07 | 1 | -12/+48 |
| | | | | | | | | | | | | | | | | * 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 | ||||
| * | Update copyright notice for 2.5.7v2.5.7 | Pierre Sassoulas | 2021-05-29 | 1 | -0/+1 |
| | | |||||
| * | Fix strong references to mutable objects in context.clone (#927) | Andrew Haigh | 2021-05-12 | 1 | -1/+1 |
| | | |||||
| * | Fix issue #891 | Pierre Sassoulas | 2021-04-10 | 1 | -1/+1 |
| | | | | | Remove outdated COPYING and rename COPYING.LESSER | ||||
| * | Upgrade copyrite notice | Pierre Sassoulas | 2021-02-28 | 1 | -1/+2 |
| | | |||||
| * | Revert "Turns the context.path from a set to a dict which values are the ↵ | hippo91 | 2021-02-21 | 1 | -6/+4 |
| | | | | | | | number of times the node has been visited. The push method return True depending on a condition of the number of visits." This reverts commit cc3bfc5dc94062a582b7b3226598f09d7ec7044e. | ||||
| * | Move from % syntax to format or f-strings | Pierre Sassoulas | 2021-02-21 | 1 | -1/+1 |
| | | | | | This is possible with python 3.6 | ||||
| * | Update copyright notice | hippo91 | 2021-02-15 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'sum_and_multiply' of https://github.com/hippo91/astroidsum_and_multiply | hippo91 | 2021-01-23 | 1 | -4/+6 |
| |\ | |||||
| | * | Merge branch 'master' into sum_and_multiply | hippo91 | 2020-06-20 | 1 | -1/+1 |
| | |\ | |||||
| | * | | Turns the context.path from a set to a dict which values are the number of ↵ | hippo91 | 2019-12-30 | 1 | -4/+6 |
| | | | | | | | | | | | | | times the node has been visited. The push method return True depending on a condition of the number of visits. | ||||
| * | | | New copyright notices | hippo91 | 2020-12-27 | 1 | -1/+2 |
| | | | | |||||
| * | | | Squash one-off inference utility functions to help reduce recursion errors ↵ | Bryce Guinta | 2020-06-22 | 1 | -11/+0 |
| | |/ |/| | | | | | | | | | (#804) This also makes debugging a lot simpler reducing the complexity of the function stack. | ||||
| * | | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -1/+1 |
| |/ | |||||
| * | Revert "Remove the restore_path() method" | Claudiu Popa | 2019-01-17 | 1 | -1/+7 |
| | | | | | | | This reverts commit 8151853e9525252b75ae560273a709cbed47ddc5 which was added while investigating the slowdown caused by context's path copying. Turns out this change doesn't have a negative impact on the performance but it has a positive one on the inference. | ||||
| * | Revert path copying in InferenceContext() | Claudiu Popa | 2018-12-30 | 1 | -1/+1 |
| | | | | | | | | | While copying the path solves some inference issues, it also leads to horrenduous performance hits on large libraries such as pandas. We still want to have the path copying, but we need a better understanding on why that is needed, as well as a change on how we operate with the inference contexts. | ||||
| * | Replace copy.copy() with a simple set() call | Claudiu Popa | 2018-10-10 | 1 | -9/+1 |
| | | |||||
| * | Use copy_context where it makes sense | Claudiu Popa | 2018-10-10 | 1 | -5/+4 |
| | | |||||
