Skip to content
New issue

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

Fix raising of RequestFailedException in Python #2589

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented Jul 31, 2024

Fix #2578

@pepone pepone requested review from externl and bernardnormier July 31, 2024 10:35
Comment on lines -279 to -280
PyErr_Fetch(&type, &e, &tb); // PyErr_Fetch clears the exception.
PyErr_NormalizeException(&type, &e, &tb);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These methods are deprecated in Python 3.12

Copy link
Member

@bernardnormier bernardnormier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. It would be helpful to add a test to verify that an application-supplied identity/facet/operation are indeed preserved and marshaled correctly.

@pepone pepone merged commit 765d815 into zeroc-ice:main Jul 31, 2024
17 of 18 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Marshaling of RequestFailedException (ObjectNotExistException etc.) raised in Python
3 participants