Skip to content

invalid memory error reporting for windows is unsupported on some WinAPI partitions #133572

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

Open
maxbachmann opened this issue May 7, 2025 · 0 comments
Labels
extension-modules C modules in the Modules dir OS-windows type-bug An unexpected behavior, bug, or error

Comments

@maxbachmann
Copy link
Contributor

maxbachmann commented May 7, 2025

Bug report

Bug description:

The error reporting for invalid memory access (HANDLE_INVALID_MEM and HANDLE_INVALID_MEM_METHOD) is using NTSTATUS and LsaNtStatusToWinError which aren't available in all WinAPI partitions. This leads to a compilation failure.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir OS-windows type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants