summaryrefslogtreecommitdiff
path: root/astroid/interpreter/scope.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Convert all files to new license headerCeridwen2016-05-171-119/+104
|
* Changed the way how parameters are being builtClaudiu Popa2016-02-131-9/+12
| | | | | | | | | | | | | | | The old way consisted in having the parameter names, their defaults and their annotations separated in different components of the Arguments node. We introduced a new Param node, which holds the name of a parameter, its default value and its annotation. If any of the last two values are missing, then that slot will be filled with a new node kind, Empty, which is used for specifying the lack of something (None could have been used instead, but that means having non-AST nodes in the Arguments node). We're also having support for positional only arguments, for the moment only in raw_building. Close #215
* Look in keyword-only annotations when determining the scope of annotations.Claudiu Popa2016-01-251-0/+1
|
* Add a workaround for singledispatch raising AttributeError on old-style classesCeridwen2015-11-161-0/+2
|
* .scope() returns the proper scope for Arguments's default values, function ↵Claudiu Popa2015-11-101-4/+69
| | | | annotations and comprehensions. Closes issue #211.
* Move the implementation of scopes into interpreter.scopes, which makes it ↵Claudiu Popa2015-11-011-0/+48
more amenable to changes.