[issue37379] Provide triggering AttributeError exception to __getattr__ for reraising
nother
report at bugs.python.org
Sun Jun 23 15:22:58 EDT 2019
nother <christoph at out-world.com> added the comment:
Ah sorry, sure. Attached some examples hope they are not too artificially simple to still render real world scenarios.
The one loaded was just the test that a function called from within the except block inside another method can use raise keyword to reraise exception caught by caller.
----------
Added file: https://bugs.python.org/file48433/tes_attr1.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37379>
_______________________________________
More information about the Python-bugs-list
mailing list