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
Windows assertion in out-of-tree debug build #89538
Comments
As seen in the release build for 3.11a1, an assertion is raised when attempting to launch the debug build out of tree.
This causes the release to fail. |
I believe this is because getpath has hit its final fallback case of looking in ".\DLLs" and ".\Lib" for the standard library, and has not performed proper normalisation on these paths. So after removing the last segment, the result is "." which does not end in SEP. So at least in this case, we can probably just ignore the assertion. However, I'm concerned that this would open up other cases where search paths may be added that are otherwise unintended. The expected behaviour when the stdlib can't be found is a detailed error message, not a debug assertion/crash. |
I left a message on the PR a day ago about a one-off error in the allocation of |
Thanks for mentioning it! New PR to fix |
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: