New submission from Barry A. Warsaw <ba...@python.org>: I just ran across errno 39 (Directory not empty) when using Path.rename(newdir) when newdir already existed and was not empty. I realized that OSError exceptions don't have a DirectoryNotEmptyError subclass. Maybe we should add one?
Probably not important or common enough to add for 3.7 given we're in beta now. ---------- messages: 312192 nosy: barry priority: normal severity: normal status: open title: Add DirectoryNotEmptyError subclass of OSError versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32847> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com