]> granicus.if.org Git - python/commit
Issue #1559549: Add 'name' and 'path' attributes to ImportError.
authorBrett Cannon <brett@python.org>
Fri, 13 Apr 2012 00:24:54 +0000 (20:24 -0400)
committerBrett Cannon <brett@python.org>
Fri, 13 Apr 2012 00:24:54 +0000 (20:24 -0400)
commit79ec55e980d7b205bbc78d44e0892d0ef37d3abb
tree7fca6e94007fd848ec36ba029aee3b1ec2a8785c
parentf50b38a11fa951582b7f1656685201269f265784
Issue #1559549: Add 'name' and 'path' attributes to ImportError.
Currently import does not use these attributes as they are planned
for use by importlib (which will be another commit).

Thanks to Filip GruszczyƄski for the initial patch and Brian Curtin
for refining it.
Doc/library/exceptions.rst
Include/pyerrors.h
Lib/test/test_exceptions.py
Misc/NEWS
Objects/exceptions.c
Python/errors.c