We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When babel.support.LazyProxy gets function that raise AttributeError, RecursionError raises instead of it
babel.support.LazyProxy
from babel.support import LazyProxy def func(): raise AttributeError("test") LazyProxy(func).value
RecursionError: maximum recursion depth exceeded while calling a Python object
AttributeError: test
Always
The text was updated successfully, but these errors were encountered:
LazyProxy: Handle AttributeError in specified func
24fbb2b
Fixes python-babel#723
LazyProxy: Handle AttributeError in specified func (#724)
0444167
Fixes #723 Co-authored-by: Aarni Koskela <akx@iki.fi>
Successfully merging a pull request may close this issue.
Overview Description
When
babel.support.LazyProxy
gets function that raise AttributeError, RecursionError raises instead of itSteps to Reproduce
Actual Results
RecursionError: maximum recursion depth exceeded while calling a Python object
Expected Results
AttributeError: test
Reproducibility
Always
Additional Information:
The text was updated successfully, but these errors were encountered: