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

"unexpected-keyword-arg" (Unexpected keyword argument 'text') error on subprocess.check_output #722

Closed
avancil opened this issue Nov 15, 2019 · 4 comments

Comments

@avancil
Copy link

avancil commented Nov 15, 2019

Steps to reproduce

  1. Python 3.6.8
  2. check_output("ls", preexec_fn=lambda: None)
  3. pylint -E

Current behavior

temp.py:9:0: E1123: Unexpected keyword argument 'preexec_fn' in function call (unexpected-keyword-arg)

Expected behavior

No error

python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" output

2.3.3

See recently closed #715. All Popen arguments need to be supported.

@EugeniuZ
Copy link

Looks like the fix was not included in the package from pypi repo (release 2.3.3). It is not in the released package (2.3.3) on github too.

@socketpair
Copy link

Triggered in Fedora 31 + updates

@socketpair
Copy link

See also pylint-dev/pylint#1393

@crobinso
Copy link
Contributor

I confirmed this is fixed with astroid git. fedora packages are still using old code.

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

4 participants