Message368027
The subprocess.check_output() raises TypeError when given the `check` keyword-argument:
Python 3.8.2 (v3.8.2:7b3ab5921f, Feb 24 2020, 17:52:18)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.check_output(['ls'], check=False)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
TypeError: run() got multiple values for keyword argument 'check'
It should just use True as the default when it's not specified in kwargs. |
|
Date |
User |
Action |
Args |
2020-05-04 09:54:48 | remi.lapeyre | set | recipients:
+ remi.lapeyre |
2020-05-04 09:54:48 | remi.lapeyre | set | messageid: <1588586088.87.0.880898235091.issue40497@roundup.psfhosted.org> |
2020-05-04 09:54:48 | remi.lapeyre | link | issue40497 messages |
2020-05-04 09:54:48 | remi.lapeyre | create | |
|