-
Notifications
You must be signed in to change notification settings - Fork 18
Grumpy panics when it can't fulfill an allocation #28
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
Comments
I think CPython would raise MemoryError in this case but I'm not sure that we can do the same here: there doesn't appear to be a way to catch failed memory allocations in Go. |
CPython does raise a memory error, but not by catching a failed
We can have similar checks in Grumpy. |
|
Hmmm, so the panic is from |
Oh that's interesting. So CPython does not raise MemoryError when malloc() fails? |
It does raise Go also does checks like these, hence the panic from |
google#166 opened by @S-YOU on 19 Jan 2017
This python code
cause
in seq.go to be panicked. I can't think of a way to handle that.
The text was updated successfully, but these errors were encountered: