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
Calling sys.exception() in GraalPython 24.1.1 does not work.
This is annoying as the Python docs say it was implemented in Python 3.11 (https://docs.python.org/3/library/sys.html#sys.exception)
Very easily reproduced:
`import sys
try: raise NotImplementedError("oops") except: t, e, tb = sys.exc_info() print(e == sys.exception())`
Crashes out with:
`Traceback (most recent call last): File "", line 2, in NotImplementedError: oops
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 5, in AttributeError: module 'sys' has no attribute 'exception'`
The text was updated successfully, but these errors were encountered:
Thank you for the report, I'll fix it shortly
Sorry, something went wrong.
6c42df4
msimacek
No branches or pull requests
Calling sys.exception() in GraalPython 24.1.1 does not work.
This is annoying as the Python docs say it was implemented in Python 3.11 (https://docs.python.org/3/library/sys.html#sys.exception)
Very easily reproduced:
`import sys
try:
raise NotImplementedError("oops")
except:
t, e, tb = sys.exc_info()
print(e == sys.exception())`
Crashes out with:
`Traceback (most recent call last):
File "", line 2, in
NotImplementedError: oops
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 5, in
AttributeError: module 'sys' has no attribute 'exception'`
The text was updated successfully, but these errors were encountered: