diff options
author | Ceridwen <ceridwenv@gmail.com> | 2015-11-06 10:48:59 -0500 |
---|---|---|
committer | Ceridwen <ceridwenv@gmail.com> | 2015-11-06 10:48:59 -0500 |
commit | a1874fa7b631d7a4538682ccc8242f489c1f3721 (patch) | |
tree | 03346b76fedd296a50272bf018f92b013c64767e /astroid/builder.py | |
parent | c094cfd61bb10e0d8b392e3d91606621e2010ff3 (diff) | |
download | astroid-git-a1874fa7b631d7a4538682ccc8242f489c1f3721.tar.gz |
Add structured exceptions to decorators and remaining functions.
* Use explicit StopIteration to pass information from generators to
raise_if_nothing_inferred and path_wrapper, rather than return or
implicit termination by reaching the end of the code block.
* Remove remove_nodes in favor of handling the cases in local_attr,
istance_attr, and getattr, to avoid the need for complicated
information passing when needing to raise an exception.
Diffstat (limited to 'astroid/builder.py')
0 files changed, 0 insertions, 0 deletions