Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: makedirs() got an unexpected keyword argument 'exist_ok' #98

Closed
uiii opened this issue May 5, 2016 · 2 comments
Closed

TypeError: makedirs() got an unexpected keyword argument 'exist_ok' #98

uiii opened this issue May 5, 2016 · 2 comments

Comments

@uiii
Copy link

uiii commented May 5, 2016

Hi, your implementation of os.makedirs doesn't reflect the official python 3 API https://docs.python.org/3/library/os.html#os.makedirs. Should accept exist_ok argument as well.

@jmcgeheeiv
Copy link
Contributor

Indeed this optional argument was added in Python 3.2.

@jmcgeheeiv
Copy link
Contributor

Added exist_ok plus additional test, merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants