-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Not very good strcpy implementation in cpython/Python/strdup.c #85512
Comments
Hi, all! strdup implementation inside cpython/Python/strdup.c is not the best one. It is easy to look any implementation in any library. So I fixed it here: |
I don't think we need to spend much effort on this implementation, since it will only be used if the system libc doesn't have a strdup already. |
Got it. |
Can we just remove strdup.c? How about hypot.c? |
Either remove it or close this issue as won’t fix. |
What's change for the performance benchmark? |
@fj92f3jj923f923 Would you update the PR to remove the strdup.c? |
There’s probably also something in configure.in that can switch this on. |
I can give a try with removing |
Created a new PR for removal of strdup (Hope it is correct) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: