Skip to content
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

Passing a large bytes object to a function freezes Python if ValueError exception is thrown #114

Open
MajFontana opened this issue Feb 13, 2024 · 1 comment

Comments

@MajFontana
Copy link

In my specific case I was passing a large bytes object to glBufferStorage, but used a incorrect number of arguments. It appears that the bytes objects attempts to be displayed in the error message, which freezes Python.

@MajFontana
Copy link
Author

Only seems to cause a freeze if running in an IDLE shell. It doesn't freeze when running in a terminal, but the error message is unusable because the buffer fills up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant