Issue 31981: os.mkdirs does not exist on 2.7.5+

Issue31981

Created on 2017-11-08 12:59 by Mikey D, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (5)
msg305826 - (view) Author: Mikey D (Mikey D) Date: 2017-11-08 12:59
https://docs.python.org/2/library/os.html

os.mkdirs('/tmp/folder')
    AttributeError: 'module' object has no attribute 'mkdirs''

os.makedirs('/tmp/folder')
os.path.isdir('/tmp/folder')
True
msg305828 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-11-08 13:03
Yes, os.mkdirs does not exist. What is your issue Mikey?
msg305829 - (view) Author: Mikey D (Mikey D) Date: 2017-11-08 13:03
Forgot to add, python 2.7.5
python-2.7.5-48.el7.x86_64 (RHEL 7.3)

On Wed, Nov 8, 2017 at 7:59 AM, Mikey D <report@bugs.python.org> wrote:
>
> New submission from Mikey D <mdeguzis@gmail.com>:
>
> https://docs.python.org/2/library/os.html
>
> os.mkdirs('/tmp/folder')
>     AttributeError: 'module' object has no attribute 'mkdirs''
>
> os.makedirs('/tmp/folder')
> os.path.isdir('/tmp/folder')
> True
>
> ----------
> assignee: docs@python
> components: Documentation
> messages: 305826
> nosy: Mikey D, docs@python
> priority: normal
> severity: normal
> status: open
> title: os.mkdirs does not exist on 2.7.5+
> versions: Python 2.7
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue31981>
> _______________________________________
msg305831 - (view) Author: Mikey D (Mikey D) Date: 2017-11-08 13:05
Bah, I need more coffee... sorry! I though I saw "mkdirs" on that
page. Please close.

On Wed, Nov 8, 2017 at 8:03 AM, Serhiy Storchaka <report@bugs.python.org> wrote:
>
> Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment:
>
> Yes, os.mkdirs does not exist. What is your issue Mikey?
>
> ----------
> nosy: +serhiy.storchaka
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue31981>
> _______________________________________
msg305832 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-11-08 13:06
No problem. ;)
History
Date User Action Args
2022-04-11 14:58:54adminsetgithub: 76162
2017-11-08 13:06:59serhiy.storchakasetstatus: open -> closed
resolution: not a bug
messages: + msg305832

stage: resolved

2017-11-08 13:05:35Mikey Dsetmessages: + msg305831
2017-11-08 13:03:43Mikey Dsetmessages: + msg305829
2017-11-08 13:03:28serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg305828
2017-11-08 12:59:23Mikey Dcreate