-
Notifications
You must be signed in to change notification settings - Fork 54
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
Python 3.6 compatibility; Path.glob() #49
Comments
from artifactory import _ArtifactoryAccessor
def scandir(self, pathobj):
for x in _ArtifactoryAccessor.listdir(self, pathobj):
yield pathobj.joinpath(x)
_ArtifactoryAccessor.scandir = scandir |
Perhaps worth noting, in case it is used elsewhere: the |
Hi,
It appears that globbing behavior in Pathlib has changed/optimized to use
scandir
in 3.6: https://bugs.python.org/issue26032Trivially implementing
scandir
on_ArtifactoryAccessor
results in a second failure, so this may be more than just adding a new method that wrapslistdir
.The text was updated successfully, but these errors were encountered: