Message350778
| Author | vstinner |
|---|---|
| Recipients | barry, pitrou, vstinner |
| Date | 2019-08-29.13:35:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1567085749.64.0.937624095648.issue32847@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> Maybe we should add one?
I don't think that we need to add an *builtin* exception for every single possible errno. On Linux with Python 3.7, I count 133 different error numbers:
>>> len([name for name in dir(errno) if name.startswith("E")])
133
PEP 3151 explains the rationale for added OSError subclasses.
I think that we should focus on the most common ones, especially the ones which are available on all platforms.
I have no opinion about "errno 39 (Directory not empty)". Is it a "common" error? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-08-29 13:35:49 | vstinner | set | recipients: + vstinner, barry, pitrou |
| 2019-08-29 13:35:49 | vstinner | set | messageid: <1567085749.64.0.937624095648.issue32847@roundup.psfhosted.org> |
| 2019-08-29 13:35:49 | vstinner | link | issue32847 messages |
| 2019-08-29 13:35:49 | vstinner | create | |