Serhiy Storchaka <storch...@gmail.com> added the comment: Agree. First, the use of parameter is shorter (1 line instead of 4). Second, try/except idiom hides possible real OS errors (no rights to create the directory, a non-directory file with the same name already exists, illegal filename, too long patch, etc.).
But "ignore_if_existing" is not good name for my taste. ---------- components: +Library (Lib) nosy: +storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15084> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com