Message286734
This case is similar to issue 29079. It should only attempt to make the parent to handle ENOENT if self and self.parent aren't equal. Here's the snippet from Path.mkdir:
try:
self._accessor.mkdir(self, mode)
except FileExistsError:
if not exist_ok or not self.is_dir():
raise
except OSError as e:
if e.errno != ENOENT:
raise
self.parent.mkdir(parents=True)
self._accessor.mkdir(self, mode) |
|
Date |
User |
Action |
Args |
2017-02-02 01:59:11 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Dan Buchoff |
2017-02-02 01:59:11 | eryksun | set | messageid: <1486000751.33.0.382198461587.issue29416@psf.upfronthosting.co.za> |
2017-02-02 01:59:11 | eryksun | link | issue29416 messages |
2017-02-02 01:59:10 | eryksun | create | |
|