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

Support paths relative to directory descriptors #206

Closed
mrbean-bremen opened this issue Jun 11, 2017 · 0 comments · Fixed by #213
Closed

Support paths relative to directory descriptors #206

mrbean-bremen opened this issue Jun 11, 2017 · 0 comments · Fixed by #213
Assignees

Comments

@mrbean-bremen
Copy link
Member

Quite a few os functions support the keyword argument dir_fd since Python 3.3. This allows to specify the path relative to the open directory, for which the descriptor is given.
For implementation, the value of os.supports_dir_fd has to be considered.

Needed for #194 in os.stat.

@mrbean-bremen mrbean-bremen self-assigned this Jun 15, 2017
mrbean-bremen added a commit to mrbean-bremen/pyfakefs that referenced this issue Jun 15, 2017
mrbean-bremen added a commit to mrbean-bremen/pyfakefs that referenced this issue Jun 15, 2017
mrbean-bremen added a commit to mrbean-bremen/pyfakefs that referenced this issue Jun 15, 2017
mrbean-bremen added a commit to mrbean-bremen/pyfakefs that referenced this issue Jun 16, 2017
mrbean-bremen added a commit to mrbean-bremen/pyfakefs that referenced this issue Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant