[issue29416] Path.mkdir can get into a recursive error loop

2017-11-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: commit review -> resolved status: pending -> closed ___ Python tracker

[issue29416] Path.mkdir can get into a recursive error loop

2017-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___

[issue29416] Path.mkdir can get into a recursive error loop

2017-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -984 ___ Python tracker ___ ___

[issue29416] Path.mkdir can get into a recursive error loop

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +984 ___ Python tracker ___ ___

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Steve Dower
Changes by Steve Dower : -- assignee: -> steve.dower stage: needs patch -> commit review ___ Python tracker ___

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8061d0967988 by Steve Dower in branch '3.5': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://hg.python.org/cpython/rev/8061d0967988 New changeset 3de58a54ed98 by Steve Dower in branch '3.6': Issue #29416: Prevent infinite loop in

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 661c40ba59855ebe4967424fcabd41be6f799137 by Steve Dower in branch '3.5': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://github.com/python/cpython/commit/661c40ba59855ebe4967424fcabd41be6f799137 --

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 661c40ba59855ebe4967424fcabd41be6f799137 by Steve Dower in branch 'master': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://github.com/python/cpython/commit/661c40ba59855ebe4967424fcabd41be6f799137 New changeset

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 661c40ba59855ebe4967424fcabd41be6f799137 by Steve Dower in branch '3.6': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://github.com/python/cpython/commit/661c40ba59855ebe4967424fcabd41be6f799137 New changeset

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-01 Thread Eryk Sun
Eryk Sun added the comment: 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

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-01 Thread Steve Dower
Steve Dower added the comment: Might be worth checking if this is resolved with issue29079, which is already in for 3.6.1. -- ___ Python tracker ___

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-01 Thread Dan Buchoff
Changes by Dan Buchoff : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-01 Thread Dan Buchoff
New submission from Dan Buchoff: If a path has a non-existent anchor, Path.mkdir can get into a RecursionError as it tries to recursively create the parent. I expect a more sane error. This is readily reproducible in Windows with `Path('Z:').mkdir(parents=True)` Example execution: Python