Message 335377 - Python tracker

Message335377

Author chris.jerdonek
Recipients ammar2, chris.jerdonek, giampaolo.rodola
Date 2019-02-12.23:57:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550015827.15.0.788519818369.issue35951@roundup.psfhosted.org>
In-reply-to
Content
> As such the cleanup in case of failure should not be expected,

Given that the documentation specifically calls out permissions errors as a cause of leaving the new directory in place, it wouldn't be unreasonable for someone to think the function does a cleanup step on failure using the same pruning process on the target directory.

In fact, that scenario is the one scenario I can think of that makes how the note is written make sense -- the cleanup step not having permissions to remove the intermediate directories it just created ("This function can fail with the new directory structure made if you lack permissions needed to remove the leaf directory or file [just created]").
History
Date User Action Args
2019-02-12 23:57:07chris.jerdoneksetrecipients: + chris.jerdonek, giampaolo.rodola, ammar2
2019-02-12 23:57:07chris.jerdoneksetmessageid: <1550015827.15.0.788519818369.issue35951@roundup.psfhosted.org>
2019-02-12 23:57:07chris.jerdoneklinkissue35951 messages
2019-02-12 23:57:07chris.jerdonekcreate