Bug report
Bug description:
My changes is work around this commit - 8c9d99f
Old realization uses (exit_ok=True) which raise exceptions only if errno == EEXIST. => We get exception only if dir not exists
Now realization uses default exit_ok=False, which means we raise exception on every errno. And just pass it.
I suggest to add check. For example if dir is already exists - pass, if we have some problems (for example - no rights for create dir etc) - raise exception and exit.
I'll prepare PR
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
Bug report
Bug description:
My changes is work around this commit - 8c9d99f
Old realization uses
(exit_ok=True)which raise exceptions only iferrno==EEXIST. => We get exception only if dir not existsNow realization uses default
exit_ok=False, which means we raise exception on everyerrno. And just pass it.I suggest to add check. For example if dir is already exists - pass, if we have some problems (for example - no rights for create dir etc) - raise exception and exit.
I'll prepare PR
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs