[issue40103] ZipFile.extractall is not multiprocess safe with regard to directory creation.

2020-05-22 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +serhiy.storchaka, twouters ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40103] ZipFile.extractall is not multiprocess safe with regard to directory creation.

2020-03-30 Thread Nathan Silberman
Change by Nathan Silberman : -- keywords: +patch pull_requests: +18597 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19216 ___ Python tracker

[issue40103] ZipFile.extractall is not multiprocess safe with regard to directory creation.

2020-03-29 Thread Nathan Silberman
that was already created by the extraction call in another process. -- components: Library (Lib) messages: 365268 nosy: nathansilberman priority: normal severity: normal status: open title: ZipFile.extractall is not multiprocess safe with regard to directory creation. type: behavior

[issue38194] Consistently add exist_ok / missing_ok parameters to directory creation/deletion functions

2019-10-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: os.mkdir() and os.rmdir() are wrappers around corresponding system calls. I do not think they should have additional parameters, especially for functionality which can be easily achieved by wrapping the call with the try/except block. For shutil.rmtree()

[issue38194] Consistently add exist_ok / missing_ok parameters to directory creation/deletion functions

2019-10-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38194] Consistently add exist_ok / missing_ok parameters to directory creation/deletion functions

2019-10-16 Thread Alori
Alori added the comment: +1 Encountered the same issue today working with Path.rmdir(). Also see a somewhat related issue here: (https://bugs.python.org/issue38499) -- nosy: +valorien ___ Python tracker

[issue38194] Consistently add exist_ok / missing_ok parameters to directory creation/deletion functions

2019-09-16 Thread Tim Hoffmann
: normal status: open title: Consistently add exist_ok / missing_ok parameters to directory creation/deletion functions type: enhancement versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue38

[issue27368] os.mkdir is not working for multiple level of directory creation in windows environment

2016-06-22 Thread SilentGhost
SilentGhost added the comment: You need to use os.makedirs -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed type: enhancement -> behavior ___ Python tracker

[issue27368] os.mkdir is not working for multiple level of directory creation in windows environment

2016-06-22 Thread Chandrajyoti
New submission from Chandrajyoti: Problem: os.mkdir is not working for multiple level of directory creation in windows environment. Explanation: Suppose there is a directory whose path is "D:\Output" Now to create 2 levels of directory in side the path "D:\Output", when

Directory creation

2008-09-06 Thread srinivasan srinivas
Can someone tell me is there any module available to create directories?? I tried os, tempfile. I was facing some issues with os.mkdir(). The mode setting was not proper with this method. I created the directory 'stdin' with '0700' mode using os.mkdir() method. $ ls -alR stdin/ stdin/: total