Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-126742: avoid checking for library filename in dlerror() error messages#128034
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
picnixz commented Dec 17, 2024 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot commented Dec 17, 2024
serhiy-storchaka left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this check at all?
picnixz commented Dec 17, 2024
I wanted to at least check that the filename would be present but considering that the maintenance could be annoying, I'm ok with dropping it. Technically, catching the exception should be sufficient (namely, not catching UnicodeDecodeError) right? |
vstinner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, just remove the filename check.
serhiy-storchaka commented Dec 17, 2024
Agree. |
dlerror() error messagesbedevere-bot commented Dec 17, 2024
🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit a1c32ce 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
vstinner commented Dec 18, 2024
Two buildbot workers failed:
multiprocessing tests failed: it's unrelated. |
335e24f into python:mainUh oh!
There was an error while loading. Please reload this page.
…ythonGH-128034) Avoid checking for library filename in `dlerror()` error messages of test_ctypes. (cherry picked from commit 335e24f) Co-authored-by: Bénédikt Tran <[email protected]>
…ythonGH-128034) Avoid checking for library filename in `dlerror()` error messages of test_ctypes. (cherry picked from commit 335e24f) Co-authored-by: Bénédikt Tran <[email protected]>
GH-128056 is a backport of this pull request to the 3.13 branch. |
GH-128057 is a backport of this pull request to the 3.12 branch. |
…ython#128034) Avoid checking for library filename in `dlerror()` error messages of test_ctypes.
I will run this one with all buildbots.