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 new features from CPython (finalizer, close, "with" support, dir_fd handling) #60

Open
benhoyt opened this issue Mar 29, 2016 · 1 comment

Comments

@benhoyt
Copy link
Owner

benhoyt commented Mar 29, 2016

Since the last changes to this scandir module, CPython has fixed a couple of issues like adding a finalizer and adding a .close() method to the iterator. Python 3.6 added support for the with statement too. These changes from CPython should be included here.

@benhoyt benhoyt changed the title Add finalizer and close method from CPython Add finalizer, close method, and "with" statement support from CPython Jan 3, 2017
@benhoyt benhoyt changed the title Add finalizer, close method, and "with" statement support from CPython Add new features from CPython (finalizer, close, "with" support, dir_fd handling) Sep 25, 2021
@benhoyt
Copy link
Owner Author

benhoyt commented Sep 25, 2021

I don't really have much time to work on scandir at this point, but if someone wants to submit a PR to update the library to include these features from CPython, go ahead!

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

No branches or pull requests

1 participant