-
-
Notifications
You must be signed in to change notification settings - Fork 800
Replace ByteString with Buffer #1191
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
base: main
Are you sure you want to change the base?
Conversation
|
When I apply this patch to gef and run the test suite on Fedora 42, I get two test failures. The relevant details should be in the attached file. I think the tests are looking for "Tcachebins" in the command output, but it isn't present. I'm not sure why that might happen. Do you have any advice for how I might resolve those test failures? |
Hum 🤔 I can't think of a reason like that. I do remember having failures on Fedora (was prob. 40 or 41 at that time) when running extended testing but it seems unrelated. I am on vacation now, don't have access to my pc but I investigate more later. Note that for now, that won't prevent your PR to be merged as-is. |
|
Sorry for the delay... I made a mistake earlier... those test failures do not occur on Fedora 42, they occur on Fedora 43. I'm not positive, but I think tcachebin is a glibc implementation detail, so the errors might simply be a change in glibc's behavior in 2.42? That's only a guess. I have no real idea. Everything else seems to work as expected with this change, both automatic tests and interactive use. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You can reopen it by adding a comment to this issue. |
Description
ByteString has been deprecated in Python since 3.9. It has been removed from the typing module, in 3.14. This change replaces ByteString with Buffer.
Checklist