-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-41366: Fix clang warning for sign conversion #21592
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
Affects 3.9 beta and master
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
Are you using a std-C implementation that doesn't define a "size_t" type? |
I see a few other uses of The problem is that Note the Azure error is a timeout. |
@henryiii I ask because Python defines Py_ssize_t to size_t IF it exists. #ifdef HAVE_SSIZE_T
typedef ssize_t Py_ssize_t;
#elif SIZEOF_VOID_P == SIZEOF_SIZE_T
typedef Py_intptr_t Py_ssize_t;
#else
# error "Python needs a typedef for Py_ssize_t in pyport.h."
#endif Edit: NVM, ssize_t is signed. |
The issue here is signed vs. unsigned - |
Sorry @henryiii and @methane, I had trouble checking out the |
(cherry picked from commit 680254a) Co-authored-by: Henry Schreiner <[email protected]>
GH-21600 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 680254a) Co-authored-by: Henry Schreiner <[email protected]>
Affects 3.9 beta and master.
Should I make a back port PR too?
https://bugs.python.org/issue41366