-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Report OSErrors in a more human-readable way #221
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
Here is what CPython 3.6 does in the REPL and what we should mimic.
Here are the relevant properties on it:
|
Revising title: on atmel-samd, all errors are reported only numerically. On esp8266 and unix, the errno name is given as well. As @tannewt shows above, both could be better. This has to do with whether
esp8266 and unix ports:
|
This may be a separate issue, but
|
This is something I would like to work on. |
I'm going to take a swing at this one. |
#837 mostly fixes this, though I still want to take a look and see if we can improve the situation for Gemma's and other boards with little flash... |
There will now a bit more flash available on gemma_m0 and trinket_m0 once my PR is merged, if that'll help? |
Fixed by #837. Thanks @godlygeek and @rhooper for making space. |
It would be better to give some indication that the filesystem was read-only instead of a numeric error.
The text was updated successfully, but these errors were encountered: