summaryrefslogtreecommitdiff
path: root/astroid/helpers.py
Commit message (Expand)AuthorAgeFilesLines
* Move from % syntax to format or f-stringsPierre Sassoulas2021-02-171-3/+3
* Update copyright noticehippo912021-02-151-0/+1
* New copyright noticeshippo912020-12-271-0/+3
* Add None check on inferred_nodeSimon Hewitt2020-12-241-0/+1
* Squash one-off inference utility functions to help reduce recursion errors (#...Bryce Guinta2020-06-231-1/+19
* Fix exception causes in helpers.pyRam Rachum2020-06-191-4/+4
* Add missing copyright annotations for the past releasesClaudiu Popa2020-04-271-1/+1
* Infer the __len__ result of a subclass of an integerClaudiu Popa2020-03-101-2/+11
* Pass an inference context to `metaclass()` when inferring an object typeClaudiu Popa2019-10-181-1/+1
* Fix lint warningsClaudiu Popa2019-10-111-0/+1
* Fix linting errorsClaudiu Popa2019-09-111-1/+1
* Instances of exceptions are inferred as such when inferring in non-exception ...Claudiu Popa2019-05-211-1/+1
* Add a method to the manager to retrieve the builtins moduleClaudiu Popa2019-01-191-1/+1
* Initial formatting of astroidClaudiu Popa2018-10-021-23/+31
* infer_call_result can raise InferenceError so make sure to handle that for th...Claudiu Popa2018-07-311-5/+1
* Update the copyright noticesastroid-2.0Claudiu Popa2018-07-151-2/+3
* Fix lintingClaudiu Popa2018-06-141-5/+4
* Fix len builtin for instances of str or bytesBryce Guinta2018-03-151-1/+2
* Locally import FrozenSet node to avoid circular importBryce Guinta2018-03-111-1/+2
* Implement inference for len builtinBryce Guinta2018-03-111-0/+42
* Fix the docstring and the commentsClaudiu Popa2018-03-101-4/+4
* Rewrite the object_isinstance and object_issubclass helpers to rely on common...Claudiu Popa2018-03-101-35/+23
* Add brain inference support for the `issubclass` builtinClaudiu Popa2018-03-101-0/+35
* Replace handling of AstroidError with MroErrorClaudiu Popa2018-03-051-2/+0
* Make sure to handle Uninferable by returning it rather than returning an exce...Claudiu Popa2018-03-051-2/+2
* Add helper function for doing isinstance checks on astroid inferred nodesBryce Guinta2018-03-021-0/+35
* Fix lint errorsBryce Guinta2018-02-261-2/+2
* Remove Python 2 branches, assume we always run on Python 3Claudiu Popa2018-02-211-10/+4
* Remove unreachable codeClaudiu Popa2017-12-151-1/+0
* Fix lint warningsClaudiu Popa2017-10-121-3/+5
* Even more granular copyrights (thanks to copyrite)Claudiu Popa2016-07-221-2/+3
* Keep a consistent copyright notice across the board.Claudiu Popa2016-07-191-0/+2
* Now is_subtype / is_supertype raises an internal exception when a type hierar...Claudiu Popa2016-06-031-2/+2
* Convert all files to new license headerCeridwen2016-05-161-184/+170
* Rename Uninferable and instantiate_class, fix broken tests, improveCeridwen2015-11-061-5/+5
* Update the docstring of object_type in order to make it clearer for its actua...Claudiu Popa2015-10-291-2/+4
* Add support for indexing containers with instances which provides an __index_...Claudiu Popa2015-10-221-0/+24
* Add tests for aliasesCeridwen2015-08-211-1/+1
* Convert line endings for some files back to DOSCeridwen2015-08-151-158/+158
* Merge main into defaultCeridwen2015-08-141-7/+9
|\
| * Move InferenceContext and CallContext into astroid.contextClaudiu Popa2015-08-121-1/+2
| * Move YES to astroid.util.Claudiu Popa2015-08-091-4/+5
| * Return YES if no types could be deduced for the type builtin.Claudiu Popa2015-08-021-1/+1
* | Node constructors almost finished except for two bugsCeridwen2015-07-081-156/+156
|/
* Add helpers.is_supertype and helpers.is_subtype, two functions for checking i...Claudiu Popa2015-06-261-16/+77
* Add astroid.helpers, a module of various useful utilities which don't belong ...Claudiu Popa2015-06-241-0/+95