-
-
Notifications
You must be signed in to change notification settings - Fork 502
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
glob wrapper breaks glob(.., root_dir=someething) #708
Comments
Pistahh
added a commit
to Pistahh/python-sh
that referenced
this issue
Nov 16, 2023
Fixes amoffat#708 glob.glob has many possible arguments but the current wrapping solution doesn't cover all them. This change directly passes all args (positional and kw) as-is to the wrapped function.
Merged
Cool, thanks for contributing the PR |
Pistahh
added a commit
to Pistahh/python-sh
that referenced
this issue
Nov 20, 2023
Fixes amoffat#708 glob.glob has many possible arguments but the current wrapping solution doesn't cover all them. This change directly passes all args (positional and kw) as-is to the wrapped function.
Pistahh
added a commit
to Pistahh/python-sh
that referenced
this issue
Nov 20, 2023
Fixes amoffat#708 glob.glob has many possible arguments but the current wrapping solution doesn't cover all them. This change directly passes all args (positional and kw) as-is to the wrapped function.
Pistahh
added a commit
to Pistahh/python-sh
that referenced
this issue
Nov 20, 2023
Fixes amoffat#708 glob.glob has many possible arguments but the current wrapping solution doesn't cover all them. This change directly passes all args (positional and kw) as-is to the wrapped function.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current glob wrapper only considers the "recursive" argument, but glob.glob supports much more. When using the sh module, it breaks calls that use other parameters too.
The text was updated successfully, but these errors were encountered: