gh-72660: Handle unsigned long win32 error codes#27959
gh-72660: Handle unsigned long win32 error codes#27959ameily wants to merge 7 commits intopython:mainfrom
Conversation
zooba
left a comment
There was a problem hiding this comment.
Change looks good, I think we can improve the error messages slightly.
|
This PR is stale because it has been open for 30 days with no activity. |
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
3324a9d to
f42270d
Compare
|
@zooba I've rebased from upstream/main and have addressed all feedback items, except one that I think it out of scope. Let me know if you need anything else from me. |
MaxwellDupre
left a comment
There was a problem hiding this comment.
Changing to "|L:FormatError" makes sense.
LGTM
|
The failed tests look like I'm also a little concerned about changing values in Footnotes
|
|
The following commit authors need to sign the Contributor License Agreement: |
bpo-28474: Handle unsigned long win32 error codes
Windows Error Codes are
DWORDvalues. This PR ensures that error codes larger thanLONG_MAXare handled. Previously, an overflow exception was raised for large, but valid, win32 error codes, such asE_POINTER 0x80000005.https://bugs.python.org/issue28474