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

Add support for open file descriptor as path argument #205

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

Add support for open file descriptor as path argument #205

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

Comments

@mrbean-bremen
Copy link
Member

Since Python 3.3, a number of os functions support using an open file descriptor as path argument.
These include os.utime, os.chmod, os.chdir, 'os.chown', os.listdir, os.stat and os.lstat.
The value of os.supports_fd shall be considered in the implementation.

Needed in #194 for os.listdir.

@mrbean-bremen mrbean-bremen self-assigned this Jun 14, 2017
mrbean-bremen added a commit to mrbean-bremen/pyfakefs that referenced this issue Jun 14, 2017
- added for os.utime, os.chmod, os.chdir, os.chown, os.listdir, os.stat and os.lstat
- fixes pytest-dev#205
mrbean-bremen added a commit to mrbean-bremen/pyfakefs that referenced this issue Jun 16, 2017
- added for os.utime, os.chmod, os.chdir, os.chown, os.listdir, os.stat and os.lstat
- fixes pytest-dev#205
mrbean-bremen added a commit that referenced this issue Jun 17, 2017
- added for os.utime, os.chmod, os.chdir, os.chown, os.listdir, os.stat and os.lstat
- fixes #205
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