-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
Conversation
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?
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? |
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.
Agree. |
dlerror()
error messages
🤖 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. |
Two buildbot workers failed:
multiprocessing tests failed: it's unrelated. |
…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 <10796600+picnixz@users.noreply.github.com>
…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 <10796600+picnixz@users.noreply.github.com>
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.