summaryrefslogtreecommitdiff
path: root/astroid/brain/brain_gi.py
Commit message (Collapse)AuthorAgeFilesLines
* AstroidBuildingException is now AstroidBuildingError.Claudiu Popa2015-12-061-3/+3
| | | | The first name will exist until astroid 2.0.
* This bookmark adds structured exceptions to astroid.Ceridwen2015-11-021-2/+2
| | | | | | | | | | | | | | | | | | | Major changes: * AstroidError has an __init__ that accepts arbitrary keyword-only arguments for adding information to exceptions, and a __str__ that lazily uses exception attributes to generate a message. The first positional argument to an exception is assigned to .message. The new API should be fully backwards compatible in general. * Some exceptions are combined or renamed; the old names are still available. * The OperationErrors used by pylint are now BadOperationMessages and located in util.py. * The AstroidBuildingException in _data_build stores the SyntaxError in its .error attribute rather than args[0]. * Many places where exceptions are raised have new, hopefully more useful error messages. The only major issue remaining is how to propagate information into decorators.
* Rename the brain files again to avoid naming conflicts.Claudiu Popa2015-10-281-0/+195